diff options
author | Ingo Molnar <mingo@elte.hu> | 2011-10-06 08:20:27 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2011-10-10 00:57:21 -0400 |
commit | d48b0e173715f678698d3678fefd40f2893ce798 (patch) | |
tree | 83eb4fe81f31225229cbcb720f6c343f8692ee88 /arch/x86/kernel/nmi.c | |
parent | b716916679e72054d436afadce2f94dcad71cfad (diff) |
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>
Diffstat (limited to 'arch/x86/kernel/nmi.c')
-rw-r--r-- | arch/x86/kernel/nmi.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/kernel/nmi.c b/arch/x86/kernel/nmi.c index d0eaa31b9f37..7ec5bd140b87 100644 --- a/arch/x86/kernel/nmi.c +++ b/arch/x86/kernel/nmi.c | |||
@@ -18,6 +18,8 @@ | |||
18 | #include <linux/hardirq.h> | 18 | #include <linux/hardirq.h> |
19 | #include <linux/slab.h> | 19 | #include <linux/slab.h> |
20 | 20 | ||
21 | #include <linux/mca.h> | ||
22 | |||
21 | #if defined(CONFIG_EDAC) | 23 | #if defined(CONFIG_EDAC) |
22 | #include <linux/edac.h> | 24 | #include <linux/edac.h> |
23 | #endif | 25 | #endif |