diff options
author | Glauber Costa <gcosta@redhat.com> | 2008-03-03 12:12:51 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-04-17 11:40:56 -0400 |
commit | 377d698426b8c685fb6d48fe89694fe4ce3aa1f8 (patch) | |
tree | b7f14ee713660b01007385c00bfe85c12efd84c2 /arch/x86/kernel/smp_64.c | |
parent | 321183c145a37e6d31cc55e0f69a226f9006e621 (diff) |
x86: unify smp_send_stop
function definition is moved to common header.
x86_64 version is now called native_smp_send_stop
Signed-off-by: Glauber Costa <gcosta@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/smp_64.c')
-rw-r--r-- | arch/x86/kernel/smp_64.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/kernel/smp_64.c b/arch/x86/kernel/smp_64.c index 4e1e2bce969c..ad11ef0c3fae 100644 --- a/arch/x86/kernel/smp_64.c +++ b/arch/x86/kernel/smp_64.c | |||
@@ -421,7 +421,7 @@ static void stop_this_cpu(void *dummy) | |||
421 | for (;;); | 421 | for (;;); |
422 | } | 422 | } |
423 | 423 | ||
424 | void smp_send_stop(void) | 424 | void native_smp_send_stop(void) |
425 | { | 425 | { |
426 | int nolock; | 426 | int nolock; |
427 | unsigned long flags; | 427 | unsigned long flags; |
@@ -482,6 +482,7 @@ struct smp_ops smp_ops = { | |||
482 | .smp_prepare_cpus = native_smp_prepare_cpus, | 482 | .smp_prepare_cpus = native_smp_prepare_cpus, |
483 | .smp_cpus_done = native_smp_cpus_done, | 483 | .smp_cpus_done = native_smp_cpus_done, |
484 | 484 | ||
485 | .smp_send_stop = native_smp_send_stop, | ||
485 | .smp_send_reschedule = native_smp_send_reschedule, | 486 | .smp_send_reschedule = native_smp_send_reschedule, |
486 | .smp_call_function_mask = native_smp_call_function_mask, | 487 | .smp_call_function_mask = native_smp_call_function_mask, |
487 | .cpu_up = native_cpu_up, | 488 | .cpu_up = native_cpu_up, |