]> git.baikalelectronics.ru Git - kernel.git/commit
x86, msr: execute on the correct CPU subset
authorBorislav Petkov <borislav.petkov@amd.com>
Thu, 30 Jul 2009 09:10:01 +0000 (11:10 +0200)
committerH. Peter Anvin <hpa@zytor.com>
Mon, 3 Aug 2009 21:48:13 +0000 (14:48 -0700)
commite3937c835631fad021f1163a1783b5750b2fe226
tree52cdc6453358cc711664bc55f68acd9e81488720
parentf6bad0ecc17282910e2642da8a1a2585856a1cef
x86, msr: execute on the correct CPU subset

Make rdmsr_on_cpus/wrmsr_on_cpus execute on the current CPU only if it
is in the supplied bitmask.

Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/lib/msr.c