summaryrefslogtreecommitdiff
path: root/include/asm-ia64
diff options
context:
space:
mode:
authorAlexey Starikovskiy <aystarik@gmail.com>2007-11-26 22:42:19 +0300
committerIngo Molnar <mingo@elte.hu>2007-11-26 22:42:19 +0300
commitc1c306344669ca40255e36192b101060ffbb1271 (patch)
tree292c7936d91b8ed2febb3e2902de41d0e6c84bca /include/asm-ia64
parentd4d25deca49ec2527a634557bf5a6cf449f85deb (diff)
downloadlinux-c1c306344669ca40255e36192b101060ffbb1271.tar.xz
ACPI: Set max_cstate to 1 for early Opterons.
AMD Opteron processors before CG revision don't like C-states > 1. This solves the long standing bugzilla #5303 and probably some more on affected machines: http://bugzilla.kernel.org/show_bug.cgi?id=5303 [ tglx@linutronix.de: reworked the patch so it does not wreck ia64 ] Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-ia64')
-rw-r--r--include/asm-ia64/acpi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-ia64/acpi.h b/include/asm-ia64/acpi.h
index 49730ffbbae4..81bcd5e51789 100644
--- a/include/asm-ia64/acpi.h
+++ b/include/asm-ia64/acpi.h
@@ -94,6 +94,7 @@ ia64_acpi_release_global_lock (unsigned int *lock)
#define acpi_noirq 0 /* ACPI always enabled on IA64 */
#define acpi_pci_disabled 0 /* ACPI PCI always enabled on IA64 */
#define acpi_strict 1 /* no ACPI spec workarounds on IA64 */
+#define acpi_processor_cstate_check(x) (x) /* no idle limits on IA64 :) */
static inline void disable_acpi(void) { }
const char *acpi_get_sysname (void);