smp: Teach __smp_call_function_single() to check for offline cpus
authorJan Kara <jack@suse.cz>
Mon, 24 Feb 2014 15:39:57 +0000 (16:39 +0100)
committerJens Axboe <axboe@fb.com>
Mon, 24 Feb 2014 22:46:55 +0000 (14:46 -0800)
commit08eed44c7249d381a099bc55577e55c6bb533160
treef4d2467cd82c40e10ec0e360398891632edf6a48
parent0ebeb79ce920bed3a4a55113534951d95a444fbb
smp: Teach __smp_call_function_single() to check for offline cpus

Align __smp_call_function_single() with smp_call_function_single() so
that it also checks whether requested cpu is still online.

Signed-off-by: Jan Kara <jack@suse.cz>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Christoph Hellwig <hch@infradead.org>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jens Axboe <axboe@fb.com>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
include/linux/smp.h
kernel/smp.c
kernel/up.c