[PATCH] ARM: mm/alignment.c: Fix build error

Nicolas Pitre nicolas.pitre at linaro.org
Fri Oct 14 14:26:27 EDT 2011


On Fri, 14 Oct 2011, Fabio Estevam wrote:

> If CONFIG_PROC_FS is not set the following error is generated because
> 'cpu_is_v6_unaligned' definition is protected by CONFIG_PROC_FS:
> 
> CC      arch/arm/mm/alignment.o
> arch/arm/mm/alignment.c: In function 'alignment_init':
> arch/arm/mm/alignment.c:964: error: implicit declaration of function 'cpu_is_v6_unaligned'
> arch/arm/mm/alignment.c:968: error: implicit declaration of function 'safe_usermode'
> make[1]: *** [arch/arm/mm/alignment.o] Error 1
> make: *** [arch/arm/mm] Error 2
> 
> This build error was triggered by 'make randconfig'.
> 
> Signed-off-by: Fabio Estevam <fabio.estevam at freescale.com>

The same patch from Arnd is already queued by RMK.


Nicolas



More information about the linux-arm-kernel mailing list