[POWERPC] Allow smp_call_function_single() to current cpu
authorAvi Kivity <avi@qumranet.com>
Thu, 19 Jul 2007 15:33:48 +0000 (01:33 +1000)
committerPaul Mackerras <paulus@samba.org>
Sun, 22 Jul 2007 11:30:58 +0000 (21:30 +1000)
commitadff093d6c545c882f1503607f6af14ddd90bb89
tree8d821e6de3ef05cdcbb784a1493a91b5bc8e5dd6
parent08ae6cc15db201fa20cc4893d9500c1f6b20e560
[POWERPC] Allow smp_call_function_single() to current cpu

This removes the requirement for callers to get_cpu() to check in simple
cases.  i386 and x86_64 already received a similar treatment.

Signed-off-by: Avi Kivity <avi@qumranet.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/smp.c