aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-01-13 10:11:00 -0500
committerIngo Molnar <mingo@elte.hu>2009-01-13 10:11:00 -0500
commit4a922a969cb0190ce4580d4b064e2ac35f3ac9bf (patch)
tree4d0de2a3b608c19e7fae738f2a85489f41f75256 /arch/x86
parente8cea892dff8e3ebed42954c46730309b617196f (diff)
x86, cpufreq: remove leftover copymask_copy()
Impact: fix potential boot crash on MAXSMP Remove code left over by: 50c668d: Revert "cpumask: use work_on_cpu in acpi-cpufreq.c for drv_read That cmd.cpumask is not allocated anymore. No impact on default !MAXSMP kernels. Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c b/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c
index 6f11e029e8c5..8f3c95c7e61f 100644
--- a/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c
+++ b/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c
@@ -235,8 +235,6 @@ static u32 get_cur_val(const struct cpumask *mask)
235 return 0; 235 return 0;
236 } 236 }
237 237
238 cpumask_copy(cmd.mask, mask);
239
240 drv_read(&cmd); 238 drv_read(&cmd);
241 239
242 dprintk("get_cur_val = %u\n", cmd.val); 240 dprintk("get_cur_val = %u\n", cmd.val);