From 1394c85dab0c1261284775bacf0fc07499f333e6 Mon Sep 17 00:00:00 2001 From: Thomas Renninger Date: Wed, 31 Oct 2007 15:41:42 +0100 Subject: [PATCH] --- yaml --- r: 84835 b: refs/heads/master c: 919158d17b42683a5c7368e1e77661c65a20a48a h: refs/heads/master i: 84833: 6ffcdcd1d5d5689d823a8b613c63b9437f01ced4 84831: 64c7683057933e395fcf2f9bfe87b8ea3fb0670b v: v3 --- [refs] | 2 +- trunk/drivers/acpi/processor_perflib.c | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index dceb0d204c0f..6d7c37482b56 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: b0b23e0ade6aa265d7278e06d50bc10ec81dd174 +refs/heads/master: 919158d17b42683a5c7368e1e77661c65a20a48a diff --git a/trunk/drivers/acpi/processor_perflib.c b/trunk/drivers/acpi/processor_perflib.c index f32010bee4d5..b477a4be8a69 100644 --- a/trunk/drivers/acpi/processor_perflib.c +++ b/trunk/drivers/acpi/processor_perflib.c @@ -50,6 +50,10 @@ ACPI_MODULE_NAME("processor_perflib"); static DEFINE_MUTEX(performance_mutex); +/* Use cpufreq debug layer for _PPC changes. */ +#define cpufreq_printk(msg...) cpufreq_debug_printk(CPUFREQ_DEBUG_CORE, \ + "cpufreq-core", msg) + /* * _PPC support is implemented as a CPUfreq policy notifier: * This means each time a CPUfreq driver registered also with @@ -131,6 +135,9 @@ static int acpi_processor_get_platform_limit(struct acpi_processor *pr) return -ENODEV; } + cpufreq_printk("CPU %d: _PPC is %d - frequency %s limited\n", pr->id, + (int)ppc, ppc ? "" : "not"); + pr->performance_platform_limit = (int)ppc; return 0;