diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2009-02-20 16:29:08 +0900 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2009-02-20 16:29:08 +0900 |
commit | b36128c830a8f5bd7d4981f5b0b69950f5928ee6 (patch) | |
tree | c1cec2c2b374b53372ab2e0592321aae9f5ba245 /drivers/acpi/processor_perflib.c | |
parent | 6b588c18f8dacfa6d7957c33c5ff832096e752d3 (diff) | |
download | kernel_samsung_aries-b36128c830a8f5bd7d4981f5b0b69950f5928ee6.zip kernel_samsung_aries-b36128c830a8f5bd7d4981f5b0b69950f5928ee6.tar.gz kernel_samsung_aries-b36128c830a8f5bd7d4981f5b0b69950f5928ee6.tar.bz2 |
alloc_percpu: change percpu_ptr to per_cpu_ptr
Impact: cleanup
There are two allocated per-cpu accessor macros with almost identical
spelling. The original and far more popular is per_cpu_ptr (44
files), so change over the other 4 files.
tj: kill percpu_ptr() and update UP too
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Cc: mingo@redhat.com
Cc: lenb@kernel.org
Cc: cpufreq@vger.kernel.org
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers/acpi/processor_perflib.c')
-rw-r--r-- | drivers/acpi/processor_perflib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/processor_perflib.c b/drivers/acpi/processor_perflib.c index 9cc769b..68fd3d2 100644 --- a/drivers/acpi/processor_perflib.c +++ b/drivers/acpi/processor_perflib.c @@ -516,12 +516,12 @@ int acpi_processor_preregister_performance( continue; } - if (!performance || !percpu_ptr(performance, i)) { + if (!performance || !per_cpu_ptr(performance, i)) { retval = -EINVAL; continue; } - pr->performance = percpu_ptr(performance, i); + pr->performance = per_cpu_ptr(performance, i); cpumask_set_cpu(i, pr->performance->shared_cpu_map); if (acpi_processor_get_psd(pr)) { retval = -EINVAL; |