]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: fix build when CONFIG_BOOKE_WDT is enabled
authorBaruch Siach <baruch@tkos.co.il>
Thu, 19 Apr 2012 06:32:06 +0000 (09:32 +0300)
committerKumar Gala <galak@kernel.crashing.org>
Thu, 19 Apr 2012 19:55:43 +0000 (14:55 -0500)
commitd7a37bd44b23f24bab2ea89951bb50a0df61f8e4
tree738d8debbbc1d932b219c9223a2ddee9b949249a
parentdac152e01a7499b9a9633f7a601eb032e7316680
powerpc: fix build when CONFIG_BOOKE_WDT is enabled

Commit e82631df (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@redhat.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/include/asm/reg_booke.h
arch/powerpc/kernel/setup_32.c