diff options
Diffstat (limited to 'drivers/acpi/processor_core.c')
| -rw-r--r-- | drivers/acpi/processor_core.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/acpi/processor_core.c b/drivers/acpi/processor_core.c index 949ba03959..015689d295 100644 --- a/drivers/acpi/processor_core.c +++ b/drivers/acpi/processor_core.c | |||
| @@ -684,7 +684,7 @@ static void acpi_processor_notify(acpi_handle handle, u32 event, void *data) | |||
| 684 | { | 684 | { |
| 685 | struct acpi_processor *pr = data; | 685 | struct acpi_processor *pr = data; |
| 686 | struct acpi_device *device = NULL; | 686 | struct acpi_device *device = NULL; |
| 687 | 687 | int saved; | |
| 688 | 688 | ||
| 689 | if (!pr) | 689 | if (!pr) |
| 690 | return; | 690 | return; |
| @@ -694,7 +694,10 @@ static void acpi_processor_notify(acpi_handle handle, u32 event, void *data) | |||
| 694 | 694 | ||
| 695 | switch (event) { | 695 | switch (event) { |
| 696 | case ACPI_PROCESSOR_NOTIFY_PERFORMANCE: | 696 | case ACPI_PROCESSOR_NOTIFY_PERFORMANCE: |
| 697 | saved = pr->performance_platform_limit; | ||
| 697 | acpi_processor_ppc_has_changed(pr); | 698 | acpi_processor_ppc_has_changed(pr); |
| 699 | if (saved == pr->performance_platform_limit) | ||
| 700 | break; | ||
| 698 | acpi_bus_generate_proc_event(device, event, | 701 | acpi_bus_generate_proc_event(device, event, |
| 699 | pr->performance_platform_limit); | 702 | pr->performance_platform_limit); |
| 700 | acpi_bus_generate_netlink_event(device->pnp.device_class, | 703 | acpi_bus_generate_netlink_event(device->pnp.device_class, |
