[PATCH] i386/x86-64: Move acpi_disabled variables into acpi/boot.c
authorAndi Kleen <ak@suse.de>
Tue, 26 Sep 2006 08:52:33 +0000 (10:52 +0200)
committerAndi Kleen <andi@basil.nowhere.org>
Tue, 26 Sep 2006 08:52:33 +0000 (10:52 +0200)
Removes code duplication between i386/x86-64.

Not needed anymore in setup.c since early_param cleanup

Cc: len.brown@intel.com
Signed-off-by: Andi Kleen <ak@suse.de>
arch/i386/kernel/acpi/boot.c
arch/i386/kernel/setup.c
arch/x86_64/kernel/setup.c

index 87e2ab50b69420190481fbded95308172680f386..f3761b98c8dd88cdd8fa600881ecd002317c7f08 100644 (file)
 
 int __initdata acpi_force = 0;
 
+#ifdef CONFIG_ACPI
+int acpi_disabled = 0;
+#else
+int acpi_disabled = 1;
+#endif
+EXPORT_SYMBOL(acpi_disabled);
+
 #ifdef CONFIG_X86_64
 
 extern void __init clustered_apic_check(void);
index c6e31ed386f5be55ac6c0b74718de52d29bebc34..ea17567dbe72805a15f4f977e003147aca609daa 100644 (file)
@@ -89,13 +89,6 @@ EXPORT_SYMBOL(boot_cpu_data);
 
 unsigned long mmu_cr4_features;
 
-#ifdef CONFIG_ACPI
-       int acpi_disabled = 0;
-#else
-       int acpi_disabled = 1;
-#endif
-EXPORT_SYMBOL(acpi_disabled);
-
 /* for MCA, but anyone else can use it if they want */
 unsigned int machine_id;
 #ifdef CONFIG_MCA
index 9c4d93c53c0614bca407db9a459c61f643308dfe..0f86976811d601a862db5964ae65eb54e85faecb 100644 (file)
@@ -74,9 +74,6 @@ EXPORT_SYMBOL(boot_cpu_data);
 
 unsigned long mmu_cr4_features;
 
-int acpi_disabled;
-EXPORT_SYMBOL(acpi_disabled);
-
 int acpi_numa __initdata;
 
 /* Boot loader ID as an integer, for the benefit of proc_dointvec */