aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2009-05-19 23:47:38 -0400
committerLen Brown <len.brown@intel.com>2009-06-12 20:49:50 -0400
commitc636f753b5b943f08fb3490e7f1a9b47aa5cc7d3 (patch)
tree58eb3843d15fa309ecbd9cfdd0bf67bf10128d5a /arch
parent07a2039b8eb0af4ff464efd3dfd95de5c02648c6 (diff)
ACPI: delete dead acpi_disabled setting code
Testing CONFIG_ACPI inside boot.c is a waste of text, since boot.c is built only when CONFIG_ACPI=y Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/kernel/acpi/boot.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/x86/kernel/acpi/boot.c b/arch/x86/kernel/acpi/boot.c
index 723989d7f802..d4acedf07866 100644
--- a/arch/x86/kernel/acpi/boot.c
+++ b/arch/x86/kernel/acpi/boot.c
@@ -43,11 +43,7 @@
43 43
44static int __initdata acpi_force = 0; 44static int __initdata acpi_force = 0;
45u32 acpi_rsdt_forced; 45u32 acpi_rsdt_forced;
46#ifdef CONFIG_ACPI 46int acpi_disabled;
47int acpi_disabled = 0;
48#else
49int acpi_disabled = 1;
50#endif
51EXPORT_SYMBOL(acpi_disabled); 47EXPORT_SYMBOL(acpi_disabled);
52 48
53#ifdef CONFIG_X86_64 49#ifdef CONFIG_X86_64