]> git.baikalelectronics.ru Git - kernel.git/commit
x86, nmi, drivers: Fix nmi splitup build bug
authorIngo Molnar <mingo@elte.hu>
Thu, 6 Oct 2011 12:20:27 +0000 (14:20 +0200)
committerIngo Molnar <mingo@elte.hu>
Mon, 10 Oct 2011 04:57:21 +0000 (06:57 +0200)
commit0b5ca06e5f0a1059bae28555e7d06a633959e256
tree83eb4fe81f31225229cbcb720f6c343f8692ee88
parentcd97a892d5e4bda555c353543a0e000807ce926a
x86, nmi, drivers: Fix nmi splitup build bug

nmi.c needs an #include <linux/mca.h>:

 arch/x86/kernel/nmi.c: In function ‘unknown_nmi_error’:
 arch/x86/kernel/nmi.c:286:6: error: ‘MCA_bus’ undeclared (first use in this function)
 arch/x86/kernel/nmi.c:286:6: note: each undeclared identifier is reported only once for each function it appears in

Another one is the hpwdt driver:

 drivers/watchdog/hpwdt.c:507:9: error: ‘NMI_DONE’ undeclared (first use in this function)

Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/nmi.c
drivers/watchdog/hpwdt.c