diff options
Diffstat (limited to 'arch/x86/kernel/x86_init.c')
-rw-r--r-- | arch/x86/kernel/x86_init.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/kernel/x86_init.c b/arch/x86/kernel/x86_init.c index 1817cd7a03fa..61a1e8c7e19f 100644 --- a/arch/x86/kernel/x86_init.c +++ b/arch/x86/kernel/x86_init.c | |||
@@ -84,10 +84,13 @@ struct x86_cpuinit_ops x86_cpuinit __cpuinitdata = { | |||
84 | .setup_percpu_clockev = setup_secondary_APIC_clock, | 84 | .setup_percpu_clockev = setup_secondary_APIC_clock, |
85 | }; | 85 | }; |
86 | 86 | ||
87 | static void default_nmi_init(void) { }; | ||
88 | |||
87 | struct x86_platform_ops x86_platform = { | 89 | struct x86_platform_ops x86_platform = { |
88 | .calibrate_tsc = native_calibrate_tsc, | 90 | .calibrate_tsc = native_calibrate_tsc, |
89 | .get_wallclock = mach_get_cmos_time, | 91 | .get_wallclock = mach_get_cmos_time, |
90 | .set_wallclock = mach_set_rtc_mmss, | 92 | .set_wallclock = mach_set_rtc_mmss, |
91 | .iommu_shutdown = iommu_shutdown_noop, | 93 | .iommu_shutdown = iommu_shutdown_noop, |
92 | .is_untracked_pat_range = is_ISA_range, | 94 | .is_untracked_pat_range = is_ISA_range, |
95 | .nmi_init = default_nmi_init | ||
93 | }; | 96 | }; |