History log of /drivers/cpufreq/freq_table.c
Revision Date Author Comments
2d06d8c49afdcc9bb35a85039fa50f0fe35bd40e 27-Mar-2011 Dominik Brodowski <linux@dominikbrodowski.net> [CPUFREQ] use dynamic debug instead of custom infrastructure

With dynamic debug having gained the capability to report debug messages
also during the boot process, it offers a far superior interface for
debug messages than the custom cpufreq infrastructure. As a first step,
remove the old cpufreq_debug_printk() function and replace it with a call
to the generic pr_debug() function.

How can dynamic debug be used on cpufreq? You need a kernel which has
CONFIG_DYNAMIC_DEBUG enabled.

To enabled debugging during runtime, mount debugfs and

$ echo -n 'module cpufreq +p' > /sys/kernel/debug/dynamic_debug/control

for debugging the complete "cpufreq" module. To achieve the same goal during
boot, append

ddebug_query="module cpufreq +p"

as a boot parameter to the kernel of your choice.

For more detailled instructions, please see
Documentation/dynamic-debug-howto.txt

Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Signed-off-by: Dave Jones <davej@redhat.com>
f16250669d78a32bdfb27cec4d791e85141e11e2 29-Oct-2009 Tejun Heo <tj@kernel.org> percpu: make percpu symbols in cpufreq unique

This patch updates percpu related symbols in cpufreq such that percpu
symbols are unique and don't clash with local symbols. This serves
two purposes of decreasing the possibility of global percpu symbol
collision and allowing dropping per_cpu__ prefix from percpu symbols.

* drivers/cpufreq/cpufreq.c: s/policy_cpu/cpufreq_policy_cpu/
* drivers/cpufreq/freq_table.c: s/show_table/cpufreq_show_table/
* arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c: s/drv_data/acfreq_data/
s/old_perf/acfreq_old_perf/

Partly based on Rusty Russell's "alloc_percpu: rename percpu vars
which cause name clashes" patch.

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Rusty Russell <rusty@rustcorp.com.au>
97acec55de8b168548665f267c9dd45ed863b179 18-Jan-2009 Dave Jones <davej@redhat.com> [CPUFREQ] checkpatch cleanups for freq_table

Signed-off-by: Dave Jones <davej@redhat.com>
4f74369422b883164c50b5936517d010a3e1ce59 22-May-2008 Dominik Brodowski <linux@dominikbrodowski.net> [CPUFREQ] clarify license of freq_table.c

Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Signed-off-by: Dave Jones <davej@redhat.com>
7a6aedfac98c6d54ecf97ca1ffb1e6a1f3d26aea 25-Mar-2008 Mike Travis <travis@sgi.com> [CPUFREQ] change cpu freq arrays to per_cpu variables

Change cpufreq_policy and cpufreq_governor pointer tables
from arrays to per_cpu variables in the cpufreq subsystem.

Also some minor complaints from checkpatch.pl fixed.

Based on:
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
git://git.kernel.org/pub/scm/linux/kernel/git/x86/linux-2.6-x86.git

Signed-off-by: Mike Travis <travis@sgi.com>
Signed-off-by: Dave Jones <davej@redhat.com>
e32d22f77666312648735f7cda0a114a8242b9d8 21-Nov-2007 Fenghua Yu <fenghua.yu@intel.com> [CPUFREQ] fix incorrect comment on show_available_freqs() in freq_table.c

In freq_table.c, show_available_freqs()'s comment is oberviously wrong.
Change the comment to a new one to avoid confusion.

Signed-off-by: Fenghua Yu <fenghua.yu@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Dave Jones <davej@redhat.com>
7b595756ec1f49e0049a9e01a1298d53a7faaa15 13-Jun-2007 Tejun Heo <htejun@gmail.com> sysfs: kill unnecessary attribute->owner

sysfs is now completely out of driver/module lifetime game. After
deletion, a sysfs node doesn't access anything outside sysfs proper,
so there's no reason to hold onto the attribute owners. Note that
often the wrong modules were accounted for as owners leading to
accessing removed modules.

This patch kills now unnecessary attribute->owner. Note that with
this change, userland holding a sysfs node does not prevent the
backing module from being unloaded.

For more info regarding lifetime rule cleanup, please read the
following message.

http://article.gmane.org/gmane.linux.kernel/510293

(tweaked by Greg to not delete the field just yet, to make it easier to
merge things properly.)

Signed-off-by: Tejun Heo <htejun@gmail.com>
Cc: Cornelia Huck <cornelia.huck@de.ibm.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
e08f5f5bb5dfaaa28d69ffe37eb774533297657f 26-Oct-2006 Gautham R Shenoy <ego@in.ibm.com> [CPUFREQ] Fix coding style issues in cpufreq.

Clean up cpufreq subsystem to fix coding style issues and to improve
the readability.

Signed-off-by: Gautham R Shenoy <ego@in.ibm.com>
Signed-off-by: Dave Jones <davej@redhat.com>
484944a5b002cf87b38a8f073d37afcfb8afff28 31-May-2006 Dave Jones <davej@redhat.com> [CPUFREQ] Remove more freq_table reinitialisations.

Signed-off-by: Dave Jones <davej@redhat.com>
5557976ca97c3a3002805f575a45ad354e1050ff 30-May-2006 Dave Jones <davej@redhat.com> [CPUFREQ] Fix another redundant initialisation in freq_table

Signed-off-by: Dave Jones <davej@redhat.com>
355eb318018c6f44a335b0e5efb1f3bf2f1685d0 30-May-2006 Dave Jones <davej@redhat.com> [CPUFREQ] Remove duplicate assignment in freq_table

Signed-off-by: Dave Jones <davej@redhat.com>
32ee8c3e470d86588b51dc42ed01e85c5fa0f180 28-Feb-2006 Dave Jones <davej@redhat.com> [CPUFREQ] Lots of whitespace & CodingStyle cleanup.

Signed-off-by: Dave Jones <davej@redhat.com>
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 17-Apr-2005 Linus Torvalds <torvalds@ppc970.osdl.org> Linux-2.6.12-rc2

Initial git repository build. I'm not bothering with the full history,
even though we have it. We can create a separate "historical" git
archive of that later if we want to, and in the meantime it's about
3.2GB when imported into git - space that would just make the early
git days unnecessarily complicated, when we don't have a lot of good
infrastructure for it.

Let it rip!