diff options
| author | H. Peter Anvin <[email protected]> | 2008-08-26 00:07:14 +0000 |
|---|---|---|
| committer | H. Peter Anvin <[email protected]> | 2008-08-26 00:45:48 +0000 |
| commit | f73be6dedf4fa058ce80846dae604b08fa805ca1 (patch) | |
| tree | eb38c111bedf6b356db3af20ab124dff846643cb /lib/debugobjects.c | |
| parent | x86: add X86_FEATURE_XMM4_2 definitions (diff) | |
| download | kernel-f73be6dedf4fa058ce80846dae604b08fa805ca1.tar.gz kernel-f73be6dedf4fa058ce80846dae604b08fa805ca1.zip | |
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 <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
