aboutsummaryrefslogtreecommitdiffstats
path: root/arch/i386/kernel/smp.c
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2006-09-26 02:32:33 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-09-26 11:48:56 -0400
commita3bc0dbc81d36fd38991b4373f6de8e1a507605a (patch)
treefc7f926365fbdd86fa80b633add01ee4d2f71e18 /arch/i386/kernel/smp.c
parenteaa70773e750cc09d60938bceacd028bc76b8e3a (diff)
[PATCH] smp_call_function_single() cleanup
If we're going to implement smp_call_function_single() on three architecture with the same prototype then it should have a declaration in a non-arch-specific header file. Move it into <linux/smp.h>. Cc: Stephane Eranian <eranian@hpl.hp.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/i386/kernel/smp.c')
-rw-r--r--arch/i386/kernel/smp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/i386/kernel/smp.c b/arch/i386/kernel/smp.c
index 304243ed7a30..465188e2d701 100644
--- a/arch/i386/kernel/smp.c
+++ b/arch/i386/kernel/smp.c
@@ -683,8 +683,8 @@ __smp_call_function_single(int cpu, void (*func) (void *info), void *info,
683 * or is or has executed. 683 * or is or has executed.
684 */ 684 */
685 685
686int smp_call_function_single (int cpu, void (*func) (void *info), void *info, 686int smp_call_function_single(int cpu, void (*func) (void *info), void *info,
687 int nonatomic, int wait) 687 int nonatomic, int wait)
688{ 688{
689 /* prevent preemption and reschedule on another processor */ 689 /* prevent preemption and reschedule on another processor */
690 int me = get_cpu(); 690 int me = get_cpu();