X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=kernel%2Flib%2Flockref.c;h=5a92189ad711af195f501fce9a3c5e2844ed11a1;hb=053855503b272bb3df55670be40c8eb6c0c41c3b;hp=494994bf17c8ec9764cbb784cbd88840fa0919c9;hpb=9ca8dbcc65cfc63d6f5ef3312a33184e1d726e00;p=kvmfornfv.git diff --git a/kernel/lib/lockref.c b/kernel/lib/lockref.c index 494994bf1..5a92189ad 100644 --- a/kernel/lib/lockref.c +++ b/kernel/lib/lockref.c @@ -3,14 +3,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.