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)
commitbab9a3da93bfe09c609407dedae5708b07a7ac56
tree52cdc6453358cc711664bc55f68acd9e81488720
parentd2ba8b211bb8abc29aa627dbd4dce08cfbc8082b
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