[PATCH] powerpc: fix build when CONFIG_BOOKE_WDT is enabled

Kumar Gala galak at kernel.crashing.org
Fri Apr 20 06:15:25 EST 2012


On Apr 19, 2012, at 1:32 AM, Baruch Siach wrote:

> Commit ae3a197e (Disintegrate asm/system.h for PowerPC) broke build of
> assembly files when CONFIG_BOOKE_WDT is enabled as follows:
> 
>  AS      arch/powerpc/lib/string.o
> /home/baruch/git/stable/arch/powerpc/include/asm/reg_booke.h: Assembler messages:
> /home/baruch/git/stable/arch/powerpc/include/asm/reg_booke.h:19: Error: Unrecognized opcode: `extern'
> /home/baruch/git/stable/arch/powerpc/include/asm/reg_booke.h:20: Error: Unrecognized opcode: `extern'
> 
> Since setup_32.c is the only user of the booke_wdt configuration variables, move
> the declarations there.
> 
> Cc: David Howells <dhowells at redhat.com>
> Signed-off-by: Baruch Siach <baruch at tkos.co.il>
> ---
> arch/powerpc/include/asm/reg_booke.h |    5 -----
> arch/powerpc/kernel/setup_32.c       |    5 +++++
> 2 files changed, 5 insertions(+), 5 deletions(-)

applied to merge, minor moving of the externs to be in same ifdef in setup_32.c

- k


More information about the Linuxppc-dev mailing list