diff options
Diffstat (limited to 'drivers/acpi')
-rw-r--r-- | drivers/acpi/processor_idle.c | 22 |
1 files changed, 4 insertions, 18 deletions
diff --git a/drivers/acpi/processor_idle.c b/drivers/acpi/processor_idle.c index 2c543b42eb1c..7c0441f63b39 100644 --- a/drivers/acpi/processor_idle.c +++ b/drivers/acpi/processor_idle.c | |||
@@ -516,23 +516,6 @@ static int acpi_processor_get_power_info_cst(struct acpi_processor *pr) | |||
516 | return status; | 516 | return status; |
517 | } | 517 | } |
518 | 518 | ||
519 | static void acpi_processor_power_verify_c2(struct acpi_processor_cx *cx) | ||
520 | { | ||
521 | |||
522 | if (!cx->address) | ||
523 | return; | ||
524 | |||
525 | /* | ||
526 | * Otherwise we've met all of our C2 requirements. | ||
527 | * Normalize the C2 latency to expidite policy | ||
528 | */ | ||
529 | cx->valid = 1; | ||
530 | |||
531 | cx->latency_ticks = cx->latency; | ||
532 | |||
533 | return; | ||
534 | } | ||
535 | |||
536 | static void acpi_processor_power_verify_c3(struct acpi_processor *pr, | 519 | static void acpi_processor_power_verify_c3(struct acpi_processor *pr, |
537 | struct acpi_processor_cx *cx) | 520 | struct acpi_processor_cx *cx) |
538 | { | 521 | { |
@@ -631,7 +614,10 @@ static int acpi_processor_power_verify(struct acpi_processor *pr) | |||
631 | break; | 614 | break; |
632 | 615 | ||
633 | case ACPI_STATE_C2: | 616 | case ACPI_STATE_C2: |
634 | acpi_processor_power_verify_c2(cx); | 617 | if (!cx->address) |
618 | break; | ||
619 | cx->valid = 1; | ||
620 | cx->latency_ticks = cx->latency; /* Normalize latency */ | ||
635 | break; | 621 | break; |
636 | 622 | ||
637 | case ACPI_STATE_C3: | 623 | case ACPI_STATE_C3: |