]> err.no Git - linux-2.6/commitdiff
[PATCH] x86_64: Fix apicid versus cpu# confusion.
authorEric W. Biederman <ebiederm@xmission.com>
Fri, 12 Aug 2005 04:26:25 +0000 (22:26 -0600)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 12 Aug 2005 16:22:04 +0000 (09:22 -0700)
Oops.  I knew I didn't have the physical versus logical cpu identifiers right
when I generated that patch.  It's not nearly as bad as I feared at the time
though.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/x86_64/kernel/smpboot.c

index 6e4807d64d4618180f100befb9854299d742f0c4..b15761ff41010f607e642c6df9621d0d92d31e2d 100644 (file)
@@ -334,7 +334,7 @@ static void __cpuinit tsc_sync_wait(void)
 {
        if (notscsync || !cpu_has_tsc)
                return;
-       sync_tsc(boot_cpu_id);
+       sync_tsc(0);
 }
 
 static __init int notscsync_setup(char *s)