summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorananth <ananth>2007-06-11 11:32:53 +0000
committerananth <ananth>2007-06-11 11:32:53 +0000
commit0cb57f93085877aee6fc4464f401018709eb4646 (patch)
tree87825acef95e134e10b47395f5d36123d90a0e21
parent66e00001f078d3c441b082d9d38087521b3cfca7 (diff)
downloadsystemtap-steved-0cb57f93085877aee6fc4464f401018709eb4646.tar.gz
systemtap-steved-0cb57f93085877aee6fc4464f401018709eb4646.tar.xz
systemtap-steved-0cb57f93085877aee6fc4464f401018709eb4646.zip
Fix minor issue with change for bz4075. The initial fix caused a lot of
test failures on powerpc. Thanks to Srinivasa for tracking the problem down.
-rw-r--r--runtime/string.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/string.h b/runtime/string.h
index fa4be125..6106b009 100644
--- a/runtime/string.h
+++ b/runtime/string.h
@@ -24,7 +24,7 @@ void _stp_text_str(char *out, char *in, int len, int quoted, int user);
* to __get_user() if not. Other archs can use __get_user() as is
*/
#ifdef __powerpc64__
-#ifdef __get_user_inatomic(x, ptr)
+#ifdef __get_user_inatomic
#define __stp_get_user(x, ptr) __get_user_inatomic(x, ptr)
#else /* __get_user_inatomic */
#define __stp_get_user(x, ptr) __get_user(x, ptr)