diff options
| author | Linus Torvalds <[email protected]> | 2010-02-24 02:15:05 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2010-02-24 02:15:05 +0000 |
| commit | be64c970f601d5bb439b6cc88ea2bd208b3422a0 (patch) | |
| tree | 8bf588711019bfef8fe111e2ac6283910ffe725e /drivers/acpi/processor_perflib.c | |
| parent | Merge branch 'drm-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/air... (diff) | |
| parent | Merge branch 'pcc' into release (diff) | |
| download | kernel-be64c970f601d5bb439b6cc88ea2bd208b3422a0.tar.gz kernel-be64c970f601d5bb439b6cc88ea2bd208b3422a0.zip | |
Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6
* 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6:
ACPI: Be in TS_POLLING state during mwait based C-state entry
ACPI: Fix regression where _PPC is not read at boot even when ignore_ppc=0
acer-wmi: Respect current backlight level when loading
Diffstat (limited to 'drivers/acpi/processor_perflib.c')
| -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 |
