Re: [PATCH] powerpc: fix build when CONFIG_BOOKE_WDT is enabled
From: Kumar Gala <hidden>
Date: 2012-04-19 20:15:24
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: =20 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'
=20 Since setup_32.c is the only user of the booke_wdt configuration =
variables, move
the declarations there. =20 Cc: David Howells <dhowells@redhat.com> Signed-off-by: Baruch Siach <baruch@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=