summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/smp_32.c
diff options
context:
space:
mode:
authorGlauber Costa <gcosta@redhat.com>2008-03-03 14:12:47 -0300
committerIngo Molnar <mingo@elte.hu>2008-04-17 17:40:55 +0200
commit2513926c286ca1d0d189c206966011bdd4080354 (patch)
treef93f8788a4c972e40231aae88c15015c79d019d7 /arch/x86/kernel/smp_32.c
parent3a36d1e435af79ec3bc5ead871e5b22d5558ebf3 (diff)
downloadop-kernel-dev-2513926c286ca1d0d189c206966011bdd4080354.zip
op-kernel-dev-2513926c286ca1d0d189c206966011bdd4080354.tar.gz
x86: change x86_64 smp_call_function_mask to look alike i386
the two versions (the inner version, and the outer version, that takes the locks) of smp_call_function_mask are made into one. With the changes, i386 and x86_64 versions look exactly the same. Signed-off-by: Glauber Costa <gcosta@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/smp_32.c')
-rw-r--r--arch/x86/kernel/smp_32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/smp_32.c b/arch/x86/kernel/smp_32.c
index dc0cde9..e4a6b66 100644
--- a/arch/x86/kernel/smp_32.c
+++ b/arch/x86/kernel/smp_32.c
@@ -583,7 +583,7 @@ native_smp_call_function_mask(cpumask_t mask,
atomic_set(&data.finished, 0);
call_data = &data;
- mb();
+ wmb();
/* Send a message to other CPUs */
if (cpus_equal(mask, allbutself))
OpenPOWER on IntegriCloud