summaryrefslogtreecommitdiff
path: root/lib/genalloc.c
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2009-06-11 17:29:58 +0400
committerDave Jones <davej@redhat.com>2009-06-15 19:49:43 +0400
commite3f996c26ff6c4c084aaaa64dce6e54d31f517be (patch)
treed49ec5b8935a91766678d7b671ffff25ce597670 /lib/genalloc.c
parent394122ab144dae4b276d74644a2f11c44a60ac5c (diff)
downloadlinux-e3f996c26ff6c4c084aaaa64dce6e54d31f517be.tar.xz
[CPUFREQ] cpumask: avoid cpumask games in arch/x86/kernel/cpu/cpufreq/speedstep-centrino.c
Impact: don't play with current's cpumask It's generally a very bad idea to mug some process's cpumask: it could legitimately and reasonably be changed by root, which could break us (if done before our code) or them (if we restore the wrong value). Use rdmsr_on_cpu and wrmsr_on_cpu instead. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> To: cpufreq@vger.kernel.org Cc: Jeremy Fitzhardinge <jeremy@goop.org> Signed-off-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'lib/genalloc.c')
0 files changed, 0 insertions, 0 deletions