diff options
Diffstat (limited to 'lib/lockref.c')
-rw-r--r-- | lib/lockref.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/lockref.c b/lib/lockref.c index 7819c2d1d315..9d76f404ce9a 100644 --- a/lib/lockref.c +++ b/lib/lockref.c | |||
@@ -19,6 +19,7 @@ | |||
19 | if (likely(old.lock_count == prev.lock_count)) { \ | 19 | if (likely(old.lock_count == prev.lock_count)) { \ |
20 | SUCCESS; \ | 20 | SUCCESS; \ |
21 | } \ | 21 | } \ |
22 | cpu_relax(); \ | ||
22 | } \ | 23 | } \ |
23 | } while (0) | 24 | } while (0) |
24 | 25 | ||