x86_64: Allow smp_call_function_single() to current cpu
commit4055551bbcb0d0be8c916134b4e9074826e89638
authorAvi Kivity <avi@qumranet.com>
Mon, 9 Jul 2007 14:11:49 +0000 (9 17:11 +0300)
committerAvi Kivity <avi@qumranet.com>
Mon, 16 Jul 2007 09:05:50 +0000 (16 12:05 +0300)
tree76ee9808a9803eaf8baabbd1c1ad489fac38d620
parent38ef6d195fb794e61a687ef8f5a37daf6044d576
x86_64: Allow smp_call_function_single() to current cpu

This removes the requirement for callers to get_cpu() to check in simple
cases.

Cc: Andi Kleen <ak@suse.de>
Signed-off-by: Avi Kivity <avi@qumranet.com>
arch/x86_64/kernel/smp.c