Fixed incorrect loop condition. Thanks Francois for reviewing! (and sorry for

mistreating your name -- Haiku's svn is to blame :-)).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30293 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2009-04-21 12:30:54 +00:00
parent a2d8979e55
commit e0518baa0c
+1 -1
View File
@@ -512,7 +512,7 @@ arch_cpu_preboot_init_percpu(kernel_args *args, int cpu)
// One CPU after the other will drop out of this loop and be caught by
// the loop below, until the last CPU (0) gets there. Save for +/- a few
// cycles the CPUs should pass the second loop at the same time.
while (sTSCSyncRendezvous > cpu) {
while (sTSCSyncRendezvous != cpu) {
}
sTSCSyncRendezvous = cpu - 1;