[PATCH] x86_64: Fix race in TSC synchronization
authorAndi Kleen <ak@suse.de>
Fri, 19 Aug 2005 04:56:40 +0000 (06:56 +0200)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 20 Aug 2005 02:18:47 +0000 (19:18 -0700)
Plug a race in TSC synchronization

We need to do tsc_sync_wait() before the CPU is set online to prevent
multiple CPUs from doing it in parallel - which won't work because TSC
sync has global unprotected state.

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

No differences found