aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/x86_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel/x86_init.c')
-rw-r--r--arch/x86/kernel/x86_init.c15
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
27void x86_init_noop(void) { } 28void x86_init_noop(void) { }
28void __init x86_init_uint_noop(unsigned int unused) { } 29void __init x86_init_uint_noop(unsigned int unused) { }
29int __init iommu_init_noop(void) { return 0; } 30static int __init iommu_init_noop(void) { return 0; }
30void iommu_shutdown_noop(void) { } 31static void iommu_shutdown_noop(void) { }
31bool __init bool_x86_init_noop(void) { return false; } 32static bool __init bool_x86_init_noop(void) { return false; }
32void x86_op_int_noop(int cpu) { } 33static void x86_op_int_noop(int cpu) { }
34static 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
96struct x86_cpuinit_ops x86_cpuinit = { 103struct x86_cpuinit_ops x86_cpuinit = {