[PATCH 38/46] davinci: fix compilation error when using mach/system.h

Russell King - ARM Linux linux at arm.linux.org.uk
Mon Oct 19 14:35:57 EDT 2009


On Mon, Oct 19, 2009 at 11:33:11AM -0700, Kevin Hilman wrote:
> Maybe it should be more explicit, but at least on 2.6.32, process.c
> already triggers an include of <asm/proc-fns.h> (linux/mm.h ->
> asm/pgtable.h -> asm/proc-fns.h.
> 
> IIRC, the problem was not with arch/arm/kernel/process.c other
> mach-davinci files using <mach/system.h> for some reason.

Ok.  Note that nothing else other than process.c should be using
mach/system.h (it's a private include file for it) so it sounds
like the include cleanup did the right thing.



More information about the linux-arm-kernel mailing list