summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorhien <hien>2006-04-21 20:26:48 +0000
committerhien <hien>2006-04-21 20:26:48 +0000
commit8b57d9199bd9e7c47979001eb6fea2434510e8e9 (patch)
treed25f8527169a6abe51eae24dc14ae9c7deef176c /runtime
parent35d4ab18d5d333ffcac436ea174beb7201275c65 (diff)
downloadsystemtap-steved-8b57d9199bd9e7c47979001eb6fea2434510e8e9.tar.gz
systemtap-steved-8b57d9199bd9e7c47979001eb6fea2434510e8e9.tar.xz
systemtap-steved-8b57d9199bd9e7c47979001eb6fea2434510e8e9.zip
Fixing BZ#2583
Diffstat (limited to 'runtime')
-rw-r--r--runtime/loc2c-runtime.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/loc2c-runtime.h b/runtime/loc2c-runtime.h
index 75c9187d..af14f395 100644
--- a/runtime/loc2c-runtime.h
+++ b/runtime/loc2c-runtime.h
@@ -184,7 +184,7 @@
"i"(sizeof(unsigned long)))
-#define _stp_put_user_asm(x, addr, err, op) \
+#define __stp_put_user_asm(x, addr, err, op) \
__asm__ __volatile__( \
"1: " op " %1,0(%2) # put_user\n" \
"2:\n" \
@@ -226,8 +226,8 @@
case 1: __stp_put_user_asm(((u8)(value)),addr,_bad,"stb"); break; \
case 2: __stp_put_user_asm(((u16)(value)),addr,_bad,"sth"); break; \
case 4: __stp_put_user_asm(((u32)(value)),addr,_bad,"stw"); break; \
- case 8: __stp_put_user_asm(((u64)(value)),addr,_bad); break; \
- default: __stp_put_user_bad(); \
+ case 8: __stp_put_user_asm(((u64)(value)),addr,_bad, "std"); break; \
+ default: __put_user_bad(); \
} \
if (_bad) \
goto deref_fault; \