diff options
author | Len Brown <len.brown@intel.com> | 2009-04-05 02:14:15 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-04-05 02:14:15 -0400 |
commit | 478c6a43fcbc6c11609f8cee7c7b57223907754f (patch) | |
tree | a7f7952099da60d33032aed6de9c0c56c9f8779e /drivers/acpi/processor_perflib.c | |
parent | 8a3f257c704e02aee9869decd069a806b45be3f1 (diff) | |
parent | 6bb597507f9839b13498781e481f5458aea33620 (diff) |
Merge branch 'linus' into release
Conflicts:
arch/x86/kernel/cpu/cpufreq/longhaul.c
Signed-off-by: Len Brown <len.brown@intel.com>
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 215f1bf7d4c1..cafb41000f6b 100644 --- a/drivers/acpi/processor_perflib.c +++ b/drivers/acpi/processor_perflib.c | |||
@@ -524,7 +524,7 @@ int acpi_processor_preregister_performance( | |||
524 | goto err_out; | 524 | goto err_out; |
525 | } | 525 | } |
526 | 526 | ||
527 | if (!performance || !percpu_ptr(performance, i)) { | 527 | if (!performance || !per_cpu_ptr(performance, i)) { |
528 | retval = -EINVAL; | 528 | retval = -EINVAL; |
529 | goto err_out; | 529 | goto err_out; |
530 | } | 530 | } |
@@ -536,7 +536,7 @@ int acpi_processor_preregister_performance( | |||
536 | if (!pr) | 536 | if (!pr) |
537 | continue; | 537 | continue; |
538 | 538 | ||
539 | pr->performance = percpu_ptr(performance, i); | 539 | pr->performance = per_cpu_ptr(performance, i); |
540 | cpumask_set_cpu(i, pr->performance->shared_cpu_map); | 540 | cpumask_set_cpu(i, pr->performance->shared_cpu_map); |
541 | if (acpi_processor_get_psd(pr)) { | 541 | if (acpi_processor_get_psd(pr)) { |
542 | retval = -EINVAL; | 542 | retval = -EINVAL; |