diff options
-rw-r--r-- | linuxthreads/spinlock.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/linuxthreads/spinlock.c b/linuxthreads/spinlock.c index 63f2ed1693..f284b580d2 100644 --- a/linuxthreads/spinlock.c +++ b/linuxthreads/spinlock.c @@ -88,6 +88,7 @@ again: return; } } + __asm __volatile ("" : "=m" (lock->__status) : "0" (lock->__status)); } lock->__spinlock += (spin_count - lock->__spinlock) / 8; |