diff --git a/src/kernel/clock.cpp b/src/kernel/clock.cpp index 44e1976..cca852a 100644 --- a/src/kernel/clock.cpp +++ b/src/kernel/clock.cpp @@ -17,6 +17,6 @@ void clock::spinwait(uint64_t us) const { uint64_t when = value() + us; - while (value() < when); + while (value() < when) asm ("pause"); }