x86: msr: propagate errors from smp_call_function_single()
authorH. Peter Anvin <hpa@zytor.com>
Tue, 26 Aug 2008 00:27:21 +0000 (17:27 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Tue, 26 Aug 2008 00:45:48 +0000 (17:45 -0700)
commitc6f31932d0a1d2b13952f506ebc92675e2d8df80
treef08e31afb69ca52e8ba8a1cca316b12bd7bec365
parentf73be6dedf4fa058ce80846dae604b08fa805ca1
x86: msr: propagate errors from smp_call_function_single()

Propagate error (-ENXIO) from smp_call_function_single().  These
errors can happen when a CPU is unplugged while the MSR driver is
open.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/kernel/msr.c
arch/x86/lib/msr-on-cpu.c
include/asm-x86/msr.h