]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - lib/lockref.c
Merge tag 'fbdev-3.12-omap-legacy-removal' of git://git.kernel.org/pub/scm/linux...
[mirror_ubuntu-artful-kernel.git] / lib / lockref.c
index 7819c2d1d315eff9a010b989d716f1b46387ef4e..9d76f404ce9a6589e7e5b98733d7317b0ad5bb1a 100644 (file)
@@ -19,6 +19,7 @@
                if (likely(old.lock_count == prev.lock_count)) {                \
                        SUCCESS;                                                \
                }                                                               \
+               cpu_relax();                                                    \
        }                                                                       \
 } while (0)