aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/asm-sparc/mxcc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-sparc/mxcc.h b/include/asm-sparc/mxcc.h
index efe4e843122d..60ef9d6fe7bc 100644
--- a/include/asm-sparc/mxcc.h
+++ b/include/asm-sparc/mxcc.h
@@ -115,8 +115,8 @@ extern __inline__ unsigned long mxcc_get_creg(void)
115{ 115{
116 unsigned long mxcc_control; 116 unsigned long mxcc_control;
117 117
118 __asm__ __volatile__("set -1, %%g2\n\t" 118 __asm__ __volatile__("set 0xffffffff, %%g2\n\t"
119 "set -1, %%g3\n\t" 119 "set 0xffffffff, %%g3\n\t"
120 "stda %%g2, [%1] %2\n\t" 120 "stda %%g2, [%1] %2\n\t"
121 "lda [%3] %2, %0\n\t" : 121 "lda [%3] %2, %0\n\t" :
122 "=r" (mxcc_control) : 122 "=r" (mxcc_control) :