diff options
author | Benjamin LaHaise <bcrl@kvack.org> | 2006-01-11 16:43:03 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-11 22:01:56 -0500 |
commit | f2ecfab91c6f248cf71dff66c2111d31c8cc1747 (patch) | |
tree | 4d0c1834fac10d50cb25d53b82d33794df9a625b /arch/x86_64/kernel/smpboot.c | |
parent | b556b35e98ad2b9174a7a623d152cdf412d1a999 (diff) |
[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/x86_64/kernel/smpboot.c')
-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 | |||
646 | send_status = apic_read(APIC_ICR) & APIC_ICR_BUSY; | 646 | send_status = apic_read(APIC_ICR) & APIC_ICR_BUSY; |
647 | } while (send_status && (timeout++ < 1000)); | 647 | } while (send_status && (timeout++ < 1000)); |
648 | 648 | ||
649 | mb(); | ||
649 | atomic_set(&init_deasserted, 1); | 650 | atomic_set(&init_deasserted, 1); |
650 | 651 | ||
651 | num_starts = 2; | 652 | num_starts = 2; |