projects
/
userspace-rcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
update x86_64 cmpxchg
[userspace-rcu.git]
/
arch_atomic_x86.h
diff --git
a/arch_atomic_x86.h
b/arch_atomic_x86.h
index 97a7cdd019129b8f2c7cf190991e89d5fef52a2a..6b33d453285f2e11535f30a9f9f7621b31a5c184 100644
(file)
--- a/
arch_atomic_x86.h
+++ b/
arch_atomic_x86.h
@@
-75,7
+75,7
@@
unsigned long _atomic_cmpxchg(volatile void *addr, unsigned long old,
#if (BITS_PER_LONG == 64)
case 8:
{
- unsigned
int
result = old;
+ unsigned
long
result = old;
__asm__ __volatile__(
"lock; cmpxchgq %2, %1"
: "+a"(result), "+m"(*__hp(addr))
This page took
0.022846 seconds
and
4
git commands to generate.