diff options
author | Len Brown | 2010-02-23 00:39:00 -0500 |
---|---|---|
committer | Len Brown | 2010-02-23 00:39:00 -0500 |
commit | b2cb9dcb98cc7a3210e9138a05e0ae1863523a61 (patch) | |
tree | 310aeeceaba0c3c7b51aec7a83368e55c6910a68 /drivers/acpi | |
parent | e4f23f66ed2498d7d08437d47cad2fca88b812bc (diff) | |
parent | 455c0d71d46e86b0b7ff2c9dcfc19bc162302ee9 (diff) |
Merge branch 'pcc' into release
Diffstat (limited to 'drivers/acpi')
-rw-r--r-- | drivers/acpi/processor_perflib.c | 6 |
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 |