Signed-off-by: Pradeep Satyanarayana <[email protected]>
Acked-by: Arlin Davis <[email protected]>
---
 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�ʇڙ�,j��f���h���z��w���
���j:+v���w�j�m��������zZ+�����ݢj"��!�i

Reply via email to