diff --git a/src/system/kernel/smp.cpp b/src/system/kernel/smp.cpp index 9e987a5212..bc7f58323b 100644 --- a/src/system/kernel/smp.cpp +++ b/src/system/kernel/smp.cpp @@ -1366,7 +1366,7 @@ smp_cpu_rendezvous(uint32* var) { atomic_add((int32*)var, 1); - while ((uint32)atomic_get((int32*)var) < sNumCPUs) + while (atomic_get((int32*)var) < sNumCPUs) cpu_wait((int32*)var, sNumCPUs); }