projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8cea89
)
x86, cpufreq: remove leftover copymask_copy()
author
Ingo Molnar
<mingo@elte.hu>
Tue, 13 Jan 2009 15:11:00 +0000
(16:11 +0100)
committer
Ingo Molnar
<mingo@elte.hu>
Tue, 13 Jan 2009 15:11:00 +0000
(16:11 +0100)
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>
arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c
b/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c
index 6f11e029e8c58a9e1ba12d404c3aac0a90f55606..8f3c95c7e61f8023b45e290398c19728985f7bd4 100644
(file)
--- 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)
return 0;
}
- cpumask_copy(cmd.mask, mask);
-
drv_read(&cmd);
dprintk("get_cur_val = %u\n", cmd.val);