diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2008-07-14 09:25:57 (GMT) |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2008-07-15 02:24:53 (GMT) |
commit | b3fcaaa8a6359e9ed623ed4c1d2d48c79eed4648 (patch) | |
tree | d19456b1c7a928e643db783547459e53839a96d9 /arch/powerpc | |
parent | 5b0504c0d795d6b0a904ff861c043d7a231f67a4 (diff) | |
download | linux-fsl-qoriq-b3fcaaa8a6359e9ed623ed4c1d2d48c79eed4648.tar.xz |
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 'arch/powerpc')
0 files changed, 0 insertions, 0 deletions