projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
x86: Fix keeping track of AMD C1E
[linux-2.6-block.git]
/
drivers
/
acpi
/
processor_idle.c
diff --git
a/drivers/acpi/processor_idle.c
b/drivers/acpi/processor_idle.c
index e9a8026d39f091444ddcf90446f008fc407cc9c8..eead3f581fb50942ba8e9534d4e134a028d17533 100644
(file)
--- a/
drivers/acpi/processor_idle.c
+++ b/
drivers/acpi/processor_idle.c
@@
-164,7
+164,7
@@
static void lapic_timer_check_state(int state, struct acpi_processor *pr,
if (cpu_has(&cpu_data(pr->id), X86_FEATURE_ARAT))
return;
- if (
boot_cpu_has(X86_FEATURE_AMDC1E)
)
+ if (
c1e_detected
)
type = ACPI_STATE_C1;
/*