diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2008-07-14 19:25:57 +1000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2008-07-15 12:24:53 +1000 |
commit | b3fcaaa8a6359e9ed623ed4c1d2d48c79eed4648 (patch) | |
tree | d19456b1c7a928e643db783547459e53839a96d9 /scripts | |
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 'scripts')
0 files changed, 0 insertions, 0 deletions