Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 84835
b: refs/heads/master
c: 919158d
h: refs/heads/master
i:
  84833: 6ffcdcd
  84831: 64c7683
v: v3
  • Loading branch information
Thomas Renninger authored and Len Brown committed Feb 7, 2008
1 parent 7de21df commit 1394c85
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b0b23e0ade6aa265d7278e06d50bc10ec81dd174
refs/heads/master: 919158d17b42683a5c7368e1e77661c65a20a48a
7 changes: 7 additions & 0 deletions trunk/drivers/acpi/processor_perflib.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 1394c85

Please sign in to comment.