aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--i386/i386/lock.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/i386/i386/lock.h b/i386/i386/lock.h
index 8efa0ca0..90f2d69a 100644
--- a/i386/i386/lock.h
+++ b/i386/i386/lock.h
@@ -59,7 +59,7 @@
({ \
while(_simple_lock_xchg_(l, 1)) \
while (*(volatile int *)&(l)->lock_data) \
- continue; \
+ __asm ("pause"); \
0; \
})