aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/i8237.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-08-25 20:07:14 -0400
committerH. Peter Anvin <hpa@zytor.com>2008-08-25 20:45:48 -0400
commitf73be6dedf4fa058ce80846dae604b08fa805ca1 (patch)
treeeb38c111bedf6b356db3af20ab124dff846643cb /arch/x86/kernel/i8237.c
parent2a61812af2e564cba2c8170cf96e1c823210f619 (diff)
smp: have smp_call_function_single() detect invalid CPUs
Have smp_call_function_single() return invalid CPU indicies and return -ENXIO. This function is already executed inside a get_cpu()..put_cpu() which locks out CPU removal, so rather than having the higher layers doing another layer of locking to guard against unplugged CPUs do the test here. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'arch/x86/kernel/i8237.c')
0 files changed, 0 insertions, 0 deletions