diff options
Diffstat (limited to 'arch/x86/kernel/x86_init.c')
-rw-r--r-- | arch/x86/kernel/x86_init.c | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/arch/x86/kernel/x86_init.c b/arch/x86/kernel/x86_init.c index 2bccd03bd654..ebda84a91510 100644 --- a/arch/x86/kernel/x86_init.c +++ b/arch/x86/kernel/x86_init.c | |||
@@ -8,6 +8,7 @@ | |||
8 | #include <linux/export.h> | 8 | #include <linux/export.h> |
9 | #include <linux/pci.h> | 9 | #include <linux/pci.h> |
10 | 10 | ||
11 | #include <asm/acpi.h> | ||
11 | #include <asm/bios_ebda.h> | 12 | #include <asm/bios_ebda.h> |
12 | #include <asm/paravirt.h> | 13 | #include <asm/paravirt.h> |
13 | #include <asm/pci_x86.h> | 14 | #include <asm/pci_x86.h> |
@@ -26,10 +27,11 @@ | |||
26 | 27 | ||
27 | void x86_init_noop(void) { } | 28 | void x86_init_noop(void) { } |
28 | void __init x86_init_uint_noop(unsigned int unused) { } | 29 | void __init x86_init_uint_noop(unsigned int unused) { } |
29 | int __init iommu_init_noop(void) { return 0; } | 30 | static int __init iommu_init_noop(void) { return 0; } |
30 | void iommu_shutdown_noop(void) { } | 31 | static void iommu_shutdown_noop(void) { } |
31 | bool __init bool_x86_init_noop(void) { return false; } | 32 | static bool __init bool_x86_init_noop(void) { return false; } |
32 | void x86_op_int_noop(int cpu) { } | 33 | static void x86_op_int_noop(int cpu) { } |
34 | static u64 u64_x86_init_noop(void) { return 0; } | ||
33 | 35 | ||
34 | /* | 36 | /* |
35 | * The platform setup functions are preset with the default functions | 37 | * The platform setup functions are preset with the default functions |
@@ -91,6 +93,11 @@ struct x86_init_ops x86_init __initdata = { | |||
91 | .x2apic_available = bool_x86_init_noop, | 93 | .x2apic_available = bool_x86_init_noop, |
92 | .init_mem_mapping = x86_init_noop, | 94 | .init_mem_mapping = x86_init_noop, |
93 | }, | 95 | }, |
96 | |||
97 | .acpi = { | ||
98 | .get_root_pointer = u64_x86_init_noop, | ||
99 | .reduced_hw_early_init = acpi_generic_reduced_hw_init, | ||
100 | }, | ||
94 | }; | 101 | }; |
95 | 102 | ||
96 | struct x86_cpuinit_ops x86_cpuinit = { | 103 | struct x86_cpuinit_ops x86_cpuinit = { |