diff options
author | Benjamin LaHaise <bcrl@kvack.org> | 2006-01-11 22:43:03 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-11 19:01:56 -0800 |
commit | f2ecfab91c6f248cf71dff66c2111d31c8cc1747 (patch) | |
tree | 4d0c1834fac10d50cb25d53b82d33794df9a625b /arch | |
parent | b556b35e98ad2b9174a7a623d152cdf412d1a999 (diff) | |
download | op-kernel-dev-f2ecfab91c6f248cf71dff66c2111d31c8cc1747.zip op-kernel-dev-f2ecfab91c6f248cf71dff66c2111d31c8cc1747.tar.gz |
[PATCH] x86_64: another mb() for smpboot.c
The following is probably a good idea given that the atomic_set() isn't
a barrier here either.
Signed-off-by: Benjamin LaHaise <benjamin.c.lahaise@intel.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86_64/kernel/smpboot.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86_64/kernel/smpboot.c b/arch/x86_64/kernel/smpboot.c index 043b1d2..f513dac 100644 --- a/arch/x86_64/kernel/smpboot.c +++ b/arch/x86_64/kernel/smpboot.c @@ -646,6 +646,7 @@ static int __cpuinit wakeup_secondary_via_INIT(int phys_apicid, unsigned int sta send_status = apic_read(APIC_ICR) & APIC_ICR_BUSY; } while (send_status && (timeout++ < 1000)); + mb(); atomic_set(&init_deasserted, 1); num_starts = 2; |