Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
To modify Ixia port numbers and IP in pod.yaml
[kvmfornfv.git]
/
kernel
/
lib
/
lockref.c
diff --git
a/kernel/lib/lockref.c
b/kernel/lib/lockref.c
index
494994b
..
5a92189
100644
(file)
--- a/
kernel/lib/lockref.c
+++ b/
kernel/lib/lockref.c
@@
-3,14
+3,6
@@
#if USE_CMPXCHG_LOCKREF
#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.
/*
* Note that the "cmpxchg()" reloads the "old" value for the
* failure case.