diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2008-07-14 05:25:57 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2008-07-14 22:24:53 -0400 |
commit | b3fcaaa8a6359e9ed623ed4c1d2d48c79eed4648 (patch) | |
tree | d19456b1c7a928e643db783547459e53839a96d9 /include/asm-powerpc/Kbuild | |
parent | 5b0504c0d795d6b0a904ff861c043d7a231f67a4 (diff) |
powerpc: mman.h export fixups
Commit ef3d3246a0d06be622867d21af25f997aeeb105f ("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>
Diffstat (limited to 'include/asm-powerpc/Kbuild')
-rw-r--r-- | include/asm-powerpc/Kbuild | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/asm-powerpc/Kbuild b/include/asm-powerpc/Kbuild index 34a0a8db0104..04ce8f8a2ee7 100644 --- a/include/asm-powerpc/Kbuild +++ b/include/asm-powerpc/Kbuild | |||
@@ -2,7 +2,6 @@ include include/asm-generic/Kbuild.asm | |||
2 | 2 | ||
3 | header-y += auxvec.h | 3 | header-y += auxvec.h |
4 | header-y += ioctls.h | 4 | header-y += ioctls.h |
5 | header-y += mman.h | ||
6 | header-y += sembuf.h | 5 | header-y += sembuf.h |
7 | header-y += siginfo.h | 6 | header-y += siginfo.h |
8 | header-y += stat.h | 7 | header-y += stat.h |