dff846643cb parent 2a61812af2e564cba2c8170cf96e1c823210f619 author H. Peter Anvin 1219709234 -0700 committer H. Peter Anvin 1219711548 -0700 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