smp: Consolidate the various smp_call_function_single() declensions
authorFrederic Weisbecker <fweisbec@gmail.com>
Mon, 24 Feb 2014 15:39:58 +0000 (16:39 +0100)
committerJens Axboe <axboe@fb.com>
Mon, 24 Feb 2014 22:46:58 +0000 (14:46 -0800)
commit8b28499a71d3431c9128abc743e2d2bfbdae3ed4
tree3abe5d789fef0e0862d9568494268dc279c81bb1
parent08eed44c7249d381a099bc55577e55c6bb533160
smp: Consolidate the various smp_call_function_single() declensions

__smp_call_function_single() and smp_call_function_single() share some
code that can be factorized: execute inline when the target is local,
check if the target is online, lock the csd, call generic_exec_single().

Lets move the common parts to generic_exec_single().

Reviewed-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: Jan Kara <jack@suse.cz>
Cc: Jens Axboe <axboe@fb.com>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
kernel/smp.c
This page took 0.024585 seconds and 5 git commands to generate.