aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/include/asm/futex.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/include/asm/futex.h')
-rw-r--r--arch/mips/include/asm/futex.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/mips/include/asm/futex.h b/arch/mips/include/asm/futex.h
index 6ebf1734b411..6ea15815d3ee 100644
--- a/arch/mips/include/asm/futex.h
+++ b/arch/mips/include/asm/futex.h
@@ -92,24 +92,24 @@ futex_atomic_op_inuser(int encoded_op, u32 __user *uaddr)
92 92
93 switch (op) { 93 switch (op) {
94 case FUTEX_OP_SET: 94 case FUTEX_OP_SET:
95 __futex_atomic_op("move $1, %z5", ret, oldval, uaddr, oparg); 95 __futex_atomic_op("move $1, %z5", ret, oldval, uaddr, oparg);
96 break; 96 break;
97 97
98 case FUTEX_OP_ADD: 98 case FUTEX_OP_ADD:
99 __futex_atomic_op("addu $1, %1, %z5", 99 __futex_atomic_op("addu $1, %1, %z5",
100 ret, oldval, uaddr, oparg); 100 ret, oldval, uaddr, oparg);
101 break; 101 break;
102 case FUTEX_OP_OR: 102 case FUTEX_OP_OR:
103 __futex_atomic_op("or $1, %1, %z5", 103 __futex_atomic_op("or $1, %1, %z5",
104 ret, oldval, uaddr, oparg); 104 ret, oldval, uaddr, oparg);
105 break; 105 break;
106 case FUTEX_OP_ANDN: 106 case FUTEX_OP_ANDN:
107 __futex_atomic_op("and $1, %1, %z5", 107 __futex_atomic_op("and $1, %1, %z5",
108 ret, oldval, uaddr, ~oparg); 108 ret, oldval, uaddr, ~oparg);
109 break; 109 break;
110 case FUTEX_OP_XOR: 110 case FUTEX_OP_XOR:
111 __futex_atomic_op("xor $1, %1, %z5", 111 __futex_atomic_op("xor $1, %1, %z5",
112 ret, oldval, uaddr, oparg); 112 ret, oldval, uaddr, oparg);
113 break; 113 break;
114 default: 114 default:
115 ret = -ENOSYS; 115 ret = -ENOSYS;