[CPUFREQ] Remove preempt_disable from powernow-k8
commitb9111b7b7f46b0ec1ccb451d60ec439b92e4df65
authorDave Jones <davej@redhat.com>
Fri, 23 Sep 2005 18:10:42 +0000 (23 11:10 -0700)
committerDave Jones <davej@redhat.com>
Fri, 23 Sep 2005 18:10:42 +0000 (23 11:10 -0700)
tree4567cbc921c39d5e2af1819ba0e3a880c1890cef
parentdf8b59be0976c56820453730078bef99a8d1dbda
[CPUFREQ] Remove preempt_disable from powernow-k8

Via reading the code, my understanding is that powernow-k8 uses
preempt_disable to ensure that driver->target doesn't migrate across cpus
whilst it's accessing per processor registers, however set_cpus_allowed
will provide this for us.  Additionally, remove schedule() calls from
set_cpus_allowed as set_cpus_allowed ensures that you're executing on the
target processor on return.

Signed-off-by: Zwane Mwaikambo <zwane@arm.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Dave Jones <davej@redhat.com>
arch/i386/kernel/cpu/cpufreq/powernow-k8.c