aha/include/asm-powerpc/Kbuild
Stephen Rothwell b3fcaaa8a6 powerpc: mman.h export fixups
Commit ef3d3246a0 ("powerpc/mm: Add Strong
Access Ordering support") in the powerpc/{next,master} tree caused the
following in a powerpc allmodconfig build:

usr/include/asm/mman.h requires linux/mm.h, which does not exist in exported headers

We should not use CONFIG_PPC64 in an unprotected (by __KERNEL__)
section of an exported include file and linux/mm.h is not exported.  So
protect the whole section that is CONFIG_PPC64 with __KERNEL__ and put
the two introduced includes in there as well.

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Acked-by: Dave Kleikamp <shaggy@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2008-07-15 12:24:53 +10:00

38 lines
802 B
Makefile

include include/asm-generic/Kbuild.asm
header-y += auxvec.h
header-y += ioctls.h
header-y += sembuf.h
header-y += siginfo.h
header-y += stat.h
header-y += errno.h
header-y += ipcbuf.h
header-y += msgbuf.h
header-y += shmbuf.h
header-y += socket.h
header-y += termbits.h
header-y += fcntl.h
header-y += poll.h
header-y += sockios.h
header-y += ucontext.h
header-y += ioctl.h
header-y += linkage.h
header-y += resource.h
header-y += sigcontext.h
header-y += statfs.h
header-y += ps3fb.h
unifdef-y += bootx.h
unifdef-y += byteorder.h
unifdef-y += cputable.h
unifdef-y += elf.h
unifdef-y += nvram.h
unifdef-y += param.h
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