[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 10:13:46 EDT 2009


On Fri, Oct 16, 2009 at 12:09:42PM -0700, Kevin Hilman wrote:
> From: Sekhar Nori <nsekhar at ti.com>
> 
> include/mach/system.h uses the cpu_do_idle() function which is
> defined in asm/proc-fns.h. Without this patch including system.h
> leads to error of the sort:
> 
> error: implicit declaration of function 'cpu_do_idle'

The right answer might actually be to ensure that arch/arm/kernel/process.c
includes this file, so that all mach/system.h files don't have to.



More information about the linux-arm-kernel mailing list