summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/acpi.h
diff options
context:
space:
mode:
authorFeng Tang <feng.tang@intel.com>2009-07-28 11:41:53 +0200
committerLen Brown <len.brown@intel.com>2009-08-29 01:57:29 +0200
commite55a5999ffcf72dc4d43d73618957964cb87065a (patch)
treeda891ef97f9b51b03cd64077f79a09ea361b1599 /arch/x86/include/asm/acpi.h
parentACPI: check acpi_disabled in acpi_table_parse() and acpi_table_parse_entries() (diff)
downloadlinux-e55a5999ffcf72dc4d43d73618957964cb87065a.tar.xz
linux-e55a5999ffcf72dc4d43d73618957964cb87065a.zip
ACPI: Handle CONFIG_ACPI=n better from linux/acpi.h
linux/acpi.h is the top level header for interfacing with the ACPI sub-system, so acpi_disabled should be up there instead of down in asm/acpi.h -- particularly since asm/acpi.h doesn't exist for all architectures. Same story for acpi_table_parse(), which is a top-level API to Linux/ACPI. This is necessary for building some code that used to always depend on CONFIG_ACPI=y, but will soon also need to build with CONFIG_ACPI=n. Signed-off-by: Feng Tang <feng.tang@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'arch/x86/include/asm/acpi.h')
-rw-r--r--arch/x86/include/asm/acpi.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/include/asm/acpi.h b/arch/x86/include/asm/acpi.h
index 20d1465a2ab0..4518dc500903 100644
--- a/arch/x86/include/asm/acpi.h
+++ b/arch/x86/include/asm/acpi.h
@@ -144,7 +144,6 @@ static inline unsigned int acpi_processor_cstate_check(unsigned int max_cstate)
#else /* !CONFIG_ACPI */
-#define acpi_disabled 1
#define acpi_lapic 0
#define acpi_ioapic 0
static inline void acpi_noirq_set(void) { }