diff options
author | Benjamin LaHaise <bcrl@kvack.org> | 2006-01-12 00:43:03 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-12 06:01:56 +0300 |
commit | f2ecfab91c6f248cf71dff66c2111d31c8cc1747 (patch) | |
tree | 4d0c1834fac10d50cb25d53b82d33794df9a625b /arch | |
parent | b556b35e98ad2b9174a7a623d152cdf412d1a999 (diff) | |
download | linux-f2ecfab91c6f248cf71dff66c2111d31c8cc1747.tar.xz |
[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 043b1d262a30..f513dacc177f 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; |