]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - lib/lockref.c
lib: bitmap: remove redundant code from __bitmap_shift_left
[mirror_ubuntu-artful-kernel.git] / lib / lockref.c
index f07a40d33871e2b9414ea40b53ee154108932d4e..d2233de9a86e564f297e01305ddbc41392b3d2ee 100644 (file)
@@ -1,6 +1,5 @@
 #include <linux/export.h>
 #include <linux/lockref.h>
-#include <linux/mutex.h>
 
 #if USE_CMPXCHG_LOCKREF
 
@@ -29,7 +28,7 @@
                if (likely(old.lock_count == prev.lock_count)) {                \
                        SUCCESS;                                                \
                }                                                               \
-               arch_mutex_cpu_relax();                                         \
+               cpu_relax_lowlatency();                                         \
        }                                                                       \
 } while (0)