diff options
author | Len Brown <len.brown@intel.com> | 2007-11-21 01:07:49 (GMT) |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2007-11-21 01:07:49 (GMT) |
commit | a3f095ade0f5fd2a09a7f523632d762314452871 (patch) | |
tree | 24e23bc2077ae866be9c43cc1f419db46f043714 /drivers/acpi/processor_core.c | |
parent | e6532b8883760bdf9d251c669a3919fc9457aeca (diff) | |
parent | e790cc8bbb990df900eabdda18a5a480d22a60c8 (diff) | |
download | linux-a3f095ade0f5fd2a09a7f523632d762314452871.tar.xz |
Pull bugzilla-9327 into release branch
Conflicts:
drivers/acpi/ec.c
Signed-off-by: Len Brown <len.brown@intel.com>
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 949ba03..015689d29 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) { struct acpi_processor *pr = data; struct acpi_device *device = NULL; - + int saved; if (!pr) return; @@ -694,7 +694,10 @@ static void acpi_processor_notify(acpi_handle handle, u32 event, void *data) switch (event) { case ACPI_PROCESSOR_NOTIFY_PERFORMANCE: + saved = pr->performance_platform_limit; acpi_processor_ppc_has_changed(pr); + if (saved == pr->performance_platform_limit) + break; acpi_bus_generate_proc_event(device, event, pr->performance_platform_limit); acpi_bus_generate_netlink_event(device->pnp.device_class, |