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:
@@ -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
|
// 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
|
// 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.
|
// cycles the CPUs should pass the second loop at the same time.
|
||||||
while (sTSCSyncRendezvous > cpu) {
|
while (sTSCSyncRendezvous != cpu) {
|
||||||
}
|
}
|
||||||
|
|
||||||
sTSCSyncRendezvous = cpu - 1;
|
sTSCSyncRendezvous = cpu - 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user