x86: cpuid: propagate error from smp_call_function_single()
authorH. Peter Anvin <hpa@zytor.com>
Tue, 26 Aug 2008 00:28:20 +0000 (17:28 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Tue, 26 Aug 2008 00:45:48 +0000 (17:45 -0700)
commit4b46ca701bdcdc19fcf32823f9fcabf8236e4e78
treeb32c91552aa74f55381d591bc3a6787164899ac7
parentc6f31932d0a1d2b13952f506ebc92675e2d8df80
x86: cpuid: propagate error from smp_call_function_single()

Propagate error (-ENXIO) from smp_call_function_single() in the CPUID
driver.  This can happen when a CPU is unplugged while the CPUID
driver is open.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/kernel/cpuid.c