diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2009-06-11 22:59:58 +0930 |
---|---|---|
committer | Dave Jones <davej@redhat.com> | 2009-06-15 11:49:43 -0400 |
commit | e3f996c26ff6c4c084aaaa64dce6e54d31f517be (patch) | |
tree | d49ec5b8935a91766678d7b671ffff25ce597670 /drivers/video/vesafb.c | |
parent | 394122ab144dae4b276d74644a2f11c44a60ac5c (diff) |
[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 'drivers/video/vesafb.c')
0 files changed, 0 insertions, 0 deletions