* [PATCH 2/3] uDAPL: common: dapl_os_atomic_inc/dec() not working as expected on ppc64 machines
@ 2013-05-30 17:55 Davis, Arlin R
0 siblings, 0 replies; only message in thread
From: Davis, Arlin R @ 2013-05-30 17:55 UTC (permalink / raw)
To: linux-rdma-u79uwXL29TY76Z2rM5mHXA, ofw-ZwoEplunGu1OwGhvXhtEPSCwEArCW2h5
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="utf-8", Size: 931 bytes --]
Signed-off-by: Pradeep Satyanarayana <pradeep@lus.ibm.com>
Acked-by: Arlin Davis <arlin.r.davis@intel.com>
---
dapl/udapl/linux/dapl_osd.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dapl/udapl/linux/dapl_osd.h b/dapl/udapl/linux/dapl_osd.h
index 7198439..0412461 100644
--- a/dapl/udapl/linux/dapl_osd.h
+++ b/dapl/udapl/linux/dapl_osd.h
@@ -188,7 +188,7 @@ dapl_os_atomic_inc (
stwcx. %0,0,%2\n\
bne- 1b"
: "=&r" (tmp), "+m" (v)
- : "r" (&v)
+ : "b" (v)
: "cc");
#else /* !__ia64__ */
__asm__ __volatile__ (
@@ -227,7 +227,7 @@ dapl_os_atomic_dec (
stwcx. %0,0,%2\n\
bne- 1b"
: "=&r" (tmp), "+m" (v)
- : "r" (&v)
+ : "b" (v)
: "cc");
#else /* !__ia64__ */
__asm__ __volatile__ (
--
1.7.3
N§²æìr¸yúèØb²X¬¶Ç§vØ^)Þº{.nÇ+·¥{±Ù{ayº\x1dÊÚë,j\a¢f£¢·h»öì\x17/oSc¾Ú³9uÀ¦æåÈ&jw¨®\x03(éÝ¢j"ú\x1a¶^[m§ÿïêäz¹Þàþf£¢·h§~m
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2013-05-30 17:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-30 17:55 [PATCH 2/3] uDAPL: common: dapl_os_atomic_inc/dec() not working as expected on ppc64 machines Davis, Arlin R
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.