diff options
author | Tejun Heo <tj@kernel.org> | 2009-10-29 14:34:13 +0100 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2009-10-29 14:34:13 +0100 |
commit | f16250669d78a32bdfb27cec4d791e85141e11e2 (patch) | |
tree | fa0fbce8904437312101a9b36f888c7a462e8d1f /security/security.c | |
parent | percpu: make percpu symbols in oprofile unique (diff) | |
download | linux-f16250669d78a32bdfb27cec4d791e85141e11e2.tar.xz linux-f16250669d78a32bdfb27cec4d791e85141e11e2.zip |
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>
Diffstat (limited to 'security/security.c')
0 files changed, 0 insertions, 0 deletions