projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a7a16d
)
ACPI: #define acpi_disabled 1 for CONFIG_ACPI=n
author
Len Brown
<len.brown@intel.com>
Sat, 13 Jun 2009 00:47:50 +0000
(20:47 -0400)
committer
Len Brown
<len.brown@intel.com>
Sat, 13 Jun 2009 00:50:39 +0000
(20:50 -0400)
SFI will need to test acpi_disabled no matter
the value of CONFIG_ACPI.
Signed-off-by: Len Brown <len.brown@intel.com>
arch/x86/include/asm/acpi.h
patch
|
blob
|
history
diff --git
a/arch/x86/include/asm/acpi.h
b/arch/x86/include/asm/acpi.h
index 4518dc50090380b6676074b3f2466709ddea5a4b..20d1465a2ab046d8956eec43d5f5d4d36a3bd6bb 100644
(file)
--- a/
arch/x86/include/asm/acpi.h
+++ b/
arch/x86/include/asm/acpi.h
@@
-144,6
+144,7
@@
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) { }