diff options
author | Frederic Weisbecker <fweisbec@gmail.com> | 2014-02-24 16:39:58 +0100 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2014-02-24 14:46:58 -0800 |
commit | 8b28499a71d3431c9128abc743e2d2bfbdae3ed4 (patch) | |
tree | 3abe5d789fef0e0862d9568494268dc279c81bb1 /tools/hv | |
parent | 08eed44c7249d381a099bc55577e55c6bb533160 (diff) |
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>
Diffstat (limited to 'tools/hv')
0 files changed, 0 insertions, 0 deletions