Subject: ARM: __enabled_CONFIG_NUMA undeclared

From: [email-masked] (Konstantin Khlebnikov)
Date: Sat, 18 Feb 2012 00:38:47 +0400

Fabio Estevam wrote:
> Hi,
>
> Building today's linux-next for ARM:
>
>    CC      arch/arm/kernel/asm-offsets.s
> In file included from include/linux/mm.h:8:0,
>                   from arch/arm/kernel/asm-offsets.c:14:
> include/linux/gfp.h: In function 'gfp_zonelist':
> include/linux/gfp.h:267:1: error: '__enabled_CONFIG_NUMA' undeclared
> (first use in this function)
> include/linux/gfp.h:267:1: note: each undeclared identifier is
> reported only once for each function it appears in
> include/linux/gfp.h:267:1: error: '__enabled_CONFIG_NUMA_MODULE'
> undeclared (first use in this function)
> make[1]: *** [arch/arm/kernel/asm-offsets.s] Error 1
>
> , which is caused by commit 053361e1a (mm: replace NUMA_BUILD with
> IS_ENABLED(CONFIG_NUMA)

Thanks. Stephen Rothwell already reported about this bug.
see patch "mm: add config NUMA stub to all architectures"