cell: fix missing spu.h header export
PATCH 1/1 cell: fix missing spu.h header export
Add spu.h to the list of exported headers. Fixes this error when using 'make headers_check' or when CONFIG_HEADERS_CHECK=y:
asm/spu_info.h requires asm/spu.h, which does not exist in exported headers
--- include/asm-powerpc/Kbuild | 1 + 1 files changed, 1 insertion(+)
include/asm-powerpc/Kbuild +1 -0
@@ -37,6 +37,7 @@ unifdef-y += posix_types.h unifdef-y += ptrace.h unifdef-y += seccomp.h unifdef-y += signal.h +unifdef-y += spu.h unifdef-y += termios.h unifdef-y += types.h unifdef-y += unistd.h
Quoted 5 lines · Geoff Levand
=20
Addspu.hto the list of exported headers. =A0Fixes this error when using 'makeheaders_check' or whenCONFIG_HEADERS_CHECK=3Dy:
=20
=A0asm/spu_info.hrequiresasm/spu.h, which does not exist in exported h=
eaders
Quoted 3 lines
=20
=20Signed-off-by Geoff Levand <[email protected]>
Sorry, wrong fix. I had a better one already but haven't gotten around to post it. spu_info.h should be in unifdef-y and spu.h should stay internal to the kernel. I'll follow up with my patch.
Arnd <><
Quoted 3 lines · Arnd Bergmann
Quoted 2 lines · Geoff Levand
=20
Addspu.hto the list of exported headers. =EF=BF=BDFixes this error w=
hen
Quoted 3 lines
Quoted 3 lines
using 'make
headers_check' or whenCONFIG_HEADERS_CHECK=3Dy:
=20
=EF=BF=BDasm/spu_info.hrequiresasm/spu.h, which does not exist in e=
xported headers
Quoted 7 lines
Quoted 3 lines
=20
=20Signed-off-by Geoff Levand <[email protected]>=20
Sorry, wrong fix. I had a better one already but haven't gotten around to post it.spu_info.hshould be in unifdef-y andspu.hshould stay internal to the kernel. I'll follow up with my patch.
Dang your fast, I was just going to post that!
PATCH 1/1 cell: fix spu_info.h header export
It uses #ifdef __KERNEL__, so needs to be processes with unifdef
include/asm-powerpc/Kbuild +1 -1
@@ -17,7 +17,6 @@ header-y += ipc.h header-y += poll.h header-y += shmparam.h header-y += sockios.h -header-y += spu_info.h header-y += ucontext.h header-y += ioctl.h header-y += linkage.h
@@ -37,6 +36,7 @@ unifdef-y += posix_types.h unifdef-y += ptrace.h unifdef-y += seccomp.h unifdef-y += signal.h +unifdef-y += spu_info.h unifdef-y += termios.h unifdef-y += types.h unifdef-y += unistd.h
Re: [PATCH] cell: fix spu_info.h header export
Quoted 3 lines · Arnd Bergmann
It uses #ifdef
__KERNEL__, so needs to be processes with unifdefSigned-off-by Arnd Bergann <[email protected]>
Yes, this is the proper fix.