summaryrefslogtreecommitdiff
path: root/kern/machine.c
diff options
context:
space:
mode:
Diffstat (limited to 'kern/machine.c')
-rw-r--r--kern/machine.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kern/machine.c b/kern/machine.c
index e8c9912e..bf9677c9 100644
--- a/kern/machine.c
+++ b/kern/machine.c
@@ -172,7 +172,7 @@ processor_request_action(
* state to running very soon.
*/
while (*(volatile int *)&processor->state == PROCESSOR_DISPATCHING)
- continue;
+ cpu_pause();
/*
* Now lock the action queue and do the dirty work.