summaryrefslogtreecommitdiff
path: root/drivers/acpi
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2010-02-23 08:39:00 +0300
committerLen Brown <len.brown@intel.com>2010-02-23 08:39:00 +0300
commitb2cb9dcb98cc7a3210e9138a05e0ae1863523a61 (patch)
tree310aeeceaba0c3c7b51aec7a83368e55c6910a68 /drivers/acpi
parente4f23f66ed2498d7d08437d47cad2fca88b812bc (diff)
parent455c0d71d46e86b0b7ff2c9dcfc19bc162302ee9 (diff)
downloadlinux-b2cb9dcb98cc7a3210e9138a05e0ae1863523a61.tar.xz
Merge branch 'pcc' into release
Diffstat (limited to 'drivers/acpi')
-rw-r--r--drivers/acpi/processor_perflib.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/acpi/processor_perflib.c b/drivers/acpi/processor_perflib.c
index 2cabadcc4d8c..a959f6a07508 100644
--- a/drivers/acpi/processor_perflib.c
+++ b/drivers/acpi/processor_perflib.c
@@ -413,7 +413,11 @@ static int acpi_processor_get_performance_info(struct acpi_processor *pr)
if (result)
goto update_bios;
- return 0;
+ /* We need to call _PPC once when cpufreq starts */
+ if (ignore_ppc != 1)
+ result = acpi_processor_get_platform_limit(pr);
+
+ return result;
/*
* Having _PPC but missing frequencies (_PSS, _PCT) is a very good hint that