summaryrefslogtreecommitdiffstats
path: root/lib/lockref.c
diff options
context:
space:
mode:
authorBrian Norris <computersforpeace@gmail.com>2015-09-13 18:41:29 -0700
committerBrian Norris <computersforpeace@gmail.com>2015-09-13 18:41:29 -0700
commitdb66e32e0d2ae1f5070faa589aa460b75780ab47 (patch)
treefeafcfb8f6ae92fabcd4de7d83e839cc301530bc /lib/lockref.c
parentf9f3ce835ddce3c669eee869253105f88819888b (diff)
parent6ff33f3902c3b1c5d0db6b1e2c70b6d76fba357f (diff)
downloadlinux-db66e32e0d2ae1f5070faa589aa460b75780ab47.tar.gz
linux-db66e32e0d2ae1f5070faa589aa460b75780ab47.tar.bz2
linux-db66e32e0d2ae1f5070faa589aa460b75780ab47.zip
Merge tag 'v4.3-rc1' into MTD -next development
Diffstat (limited to 'lib/lockref.c')
-rw-r--r--lib/lockref.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/lockref.c b/lib/lockref.c
index 494994bf17c8..5a92189ad711 100644
--- a/lib/lockref.c
+++ b/lib/lockref.c
@@ -4,14 +4,6 @@
#if USE_CMPXCHG_LOCKREF
/*
- * Allow weakly-ordered memory architectures to provide barrier-less
- * cmpxchg semantics for lockref updates.
- */
-#ifndef cmpxchg64_relaxed
-# define cmpxchg64_relaxed cmpxchg64
-#endif
-
-/*
* Note that the "cmpxchg()" reloads the "old" value for the
* failure case.
*/