linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* build error in powerpc tree
@ 2008-07-14  7:03 Stephen Rothwell
  2008-07-14  8:39 ` Benjamin Herrenschmidt
  2008-07-14  9:25 ` [PATCH] powerpc: mman.h export fixups Stephen Rothwell
  0 siblings, 2 replies; 5+ messages in thread
From: Stephen Rothwell @ 2008-07-14  7:03 UTC (permalink / raw)
  To: Benjamin Herrenschmidt; +Cc: ppc-dev, Dave Kleikamp

[-- Attachment #1: Type: text/plain, Size: 869 bytes --]

Hi Ben,

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

Also, that header file is now using CONFIG_PPC64 which we should not do
in the unprotected (by #ifdef __KERNEL__) part an exported header file,
we should use __powerpc64__ instead.

I suspect all the CONFIG_PPC64 part of the file could be surrounded by
#ifdef __KERNEL__ and the include of <linux/mm.h> could be moved to this
section.  The file should then be changed to unifdef-y from header-y in
the Kbuild file.  (Might have been easier to send a patch :-))

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-07-14 16:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-14  7:03 build error in powerpc tree Stephen Rothwell
2008-07-14  8:39 ` Benjamin Herrenschmidt
2008-07-14  9:25 ` [PATCH] powerpc: mman.h export fixups Stephen Rothwell
2008-07-14 14:02   ` Arnd Bergmann
2008-07-14 16:34   ` Dave Kleikamp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).