diff options
Diffstat (limited to 'arch/x86/kernel/x86_init.c')
| -rw-r--r-- | arch/x86/kernel/x86_init.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/x86/kernel/x86_init.c b/arch/x86/kernel/x86_init.c index 61a1e8c7e19f..cd6da6bf3eca 100644 --- a/arch/x86/kernel/x86_init.c +++ b/arch/x86/kernel/x86_init.c | |||
| @@ -5,6 +5,7 @@ | |||
| 5 | */ | 5 | */ |
| 6 | #include <linux/init.h> | 6 | #include <linux/init.h> |
| 7 | #include <linux/ioport.h> | 7 | #include <linux/ioport.h> |
| 8 | #include <linux/module.h> | ||
| 8 | 9 | ||
| 9 | #include <asm/bios_ebda.h> | 10 | #include <asm/bios_ebda.h> |
| 10 | #include <asm/paravirt.h> | 11 | #include <asm/paravirt.h> |
| @@ -85,6 +86,7 @@ struct x86_cpuinit_ops x86_cpuinit __cpuinitdata = { | |||
| 85 | }; | 86 | }; |
| 86 | 87 | ||
| 87 | static void default_nmi_init(void) { }; | 88 | static void default_nmi_init(void) { }; |
| 89 | static int default_i8042_detect(void) { return 1; }; | ||
| 88 | 90 | ||
| 89 | struct x86_platform_ops x86_platform = { | 91 | struct x86_platform_ops x86_platform = { |
| 90 | .calibrate_tsc = native_calibrate_tsc, | 92 | .calibrate_tsc = native_calibrate_tsc, |
| @@ -92,5 +94,8 @@ struct x86_platform_ops x86_platform = { | |||
| 92 | .set_wallclock = mach_set_rtc_mmss, | 94 | .set_wallclock = mach_set_rtc_mmss, |
| 93 | .iommu_shutdown = iommu_shutdown_noop, | 95 | .iommu_shutdown = iommu_shutdown_noop, |
| 94 | .is_untracked_pat_range = is_ISA_range, | 96 | .is_untracked_pat_range = is_ISA_range, |
| 95 | .nmi_init = default_nmi_init | 97 | .nmi_init = default_nmi_init, |
| 98 | .i8042_detect = default_i8042_detect | ||
| 96 | }; | 99 | }; |
| 100 | |||
| 101 | EXPORT_SYMBOL_GPL(x86_platform); | ||
