--- drivers/acpi/processor_perflib.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) Index: linux-2.6/drivers/acpi/processor_perflib.c =================================================================== --- linux-2.6.orig/drivers/acpi/processor_perflib.c 2007-11-04 19:30:51.000000000 -0800 +++ linux-2.6/drivers/acpi/processor_perflib.c 2007-11-04 19:42:42.000000000 -0800 @@ -30,6 +30,7 @@ #include #include #include +#include #ifdef CONFIG_X86_ACPI_CPUFREQ_PROC_INTF #include @@ -567,12 +568,12 @@ int acpi_processor_preregister_performan continue; } - if (!performance || !percpu_ptr(performance, i)) { + if (!performance || !CPU_PTR(performance, i)) { retval = -EINVAL; continue; } - pr->performance = percpu_ptr(performance, i); + pr->performance = CPU_PTR(performance, i); cpu_set(i, pr->performance->shared_cpu_map); if (acpi_processor_get_psd(pr)) { retval = -EINVAL;