aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/i386/kernel/acpi/boot.c7
-rw-r--r--arch/i386/kernel/setup.c7
-rw-r--r--arch/x86_64/kernel/setup.c3
3 files changed, 7 insertions, 10 deletions
diff --git a/arch/i386/kernel/acpi/boot.c b/arch/i386/kernel/acpi/boot.c
index 87e2ab50b6..f3761b98c8 100644
--- a/arch/i386/kernel/acpi/boot.c
+++ b/arch/i386/kernel/acpi/boot.c
@@ -38,6 +38,13 @@
38 38
39int __initdata acpi_force = 0; 39int __initdata acpi_force = 0;
40 40
41#ifdef CONFIG_ACPI
42int acpi_disabled = 0;
43#else
44int acpi_disabled = 1;
45#endif
46EXPORT_SYMBOL(acpi_disabled);
47
41#ifdef CONFIG_X86_64 48#ifdef CONFIG_X86_64
42 49
43extern void __init clustered_apic_check(void); 50extern void __init clustered_apic_check(void);
diff --git a/arch/i386/kernel/setup.c b/arch/i386/kernel/setup.c
index c6e31ed386..ea17567dbe 100644
--- a/arch/i386/kernel/setup.c
+++ b/arch/i386/kernel/setup.c
@@ -89,13 +89,6 @@ EXPORT_SYMBOL(boot_cpu_data);
89 89
90unsigned long mmu_cr4_features; 90unsigned long mmu_cr4_features;
91 91
92#ifdef CONFIG_ACPI
93 int acpi_disabled = 0;
94#else
95 int acpi_disabled = 1;
96#endif
97EXPORT_SYMBOL(acpi_disabled);
98
99/* for MCA, but anyone else can use it if they want */ 92/* for MCA, but anyone else can use it if they want */
100unsigned int machine_id; 93unsigned int machine_id;
101#ifdef CONFIG_MCA 94#ifdef CONFIG_MCA
diff --git a/arch/x86_64/kernel/setup.c b/arch/x86_64/kernel/setup.c
index 9c4d93c53c..0f86976811 100644
--- a/arch/x86_64/kernel/setup.c
+++ b/arch/x86_64/kernel/setup.c
@@ -74,9 +74,6 @@ EXPORT_SYMBOL(boot_cpu_data);
74 74
75unsigned long mmu_cr4_features; 75unsigned long mmu_cr4_features;
76 76
77int acpi_disabled;
78EXPORT_SYMBOL(acpi_disabled);
79
80int acpi_numa __initdata; 77int acpi_numa __initdata;
81 78
82/* Boot loader ID as an integer, for the benefit of proc_dointvec */ 79/* Boot loader ID as an integer, for the benefit of proc_dointvec */