Skip to content

Commit

Permalink
x86, cpufreq: remove leftover copymask_copy()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ingo Molnar committed Jan 13, 2009
1 parent e8cea89 commit 4a922a9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c
Original file line number Diff line number Diff line change
Expand Up @@ -235,8 +235,6 @@ static u32 get_cur_val(const struct cpumask *mask)
return 0;
}

cpumask_copy(cmd.mask, mask);

drv_read(&cmd);

dprintk("get_cur_val = %u\n", cmd.val);
Expand Down

0 comments on commit 4a922a9

Please sign in to comment.