Commit f90a66d6 authored by Willy Tarreau's avatar Willy Tarreau Committed by Paul E. McKenney

rcutorture/nolibc: Fix the clobbered registers in the MIPS syscall definition

A last-minute checkpatch cleanup caused most of list of clobbered
registers to be lost in the MIPS syscall definition. Although this code
is not yet used on MIPS, it is nevertheless better to fix it before it
does get used.

Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: default avatarWilly Tarreau <w@1wt.eu>
Signed-off-by: default avatarPaul E. McKenney <paulmck@linux.ibm.com>
parent e838a7d6
...@@ -1006,7 +1006,7 @@ struct sys_stat_struct { ...@@ -1006,7 +1006,7 @@ struct sys_stat_struct {
: "=r"(_num), "=r"(_arg4) \ : "=r"(_num), "=r"(_arg4) \
: "r"(_num) \ : "r"(_num) \
: "memory", "cc", "at", "v1", "hi", "lo", \ : "memory", "cc", "at", "v1", "hi", "lo", \
\ "t0", "t1", "t2", "t3", "t4", "t5", "t6", "t7", "t8", "t9" \
); \ ); \
_arg4 ? -_num : _num; \ _arg4 ? -_num : _num; \
}) })
...@@ -1025,7 +1025,7 @@ struct sys_stat_struct { ...@@ -1025,7 +1025,7 @@ struct sys_stat_struct {
: "0"(_num), \ : "0"(_num), \
"r"(_arg1) \ "r"(_arg1) \
: "memory", "cc", "at", "v1", "hi", "lo", \ : "memory", "cc", "at", "v1", "hi", "lo", \
\ "t0", "t1", "t2", "t3", "t4", "t5", "t6", "t7", "t8", "t9" \
); \ ); \
_arg4 ? -_num : _num; \ _arg4 ? -_num : _num; \
}) })
...@@ -1045,7 +1045,7 @@ struct sys_stat_struct { ...@@ -1045,7 +1045,7 @@ struct sys_stat_struct {
: "0"(_num), \ : "0"(_num), \
"r"(_arg1), "r"(_arg2) \ "r"(_arg1), "r"(_arg2) \
: "memory", "cc", "at", "v1", "hi", "lo", \ : "memory", "cc", "at", "v1", "hi", "lo", \
\ "t0", "t1", "t2", "t3", "t4", "t5", "t6", "t7", "t8", "t9" \
); \ ); \
_arg4 ? -_num : _num; \ _arg4 ? -_num : _num; \
}) })
...@@ -1066,7 +1066,7 @@ struct sys_stat_struct { ...@@ -1066,7 +1066,7 @@ struct sys_stat_struct {
: "0"(_num), \ : "0"(_num), \
"r"(_arg1), "r"(_arg2), "r"(_arg3) \ "r"(_arg1), "r"(_arg2), "r"(_arg3) \
: "memory", "cc", "at", "v1", "hi", "lo", \ : "memory", "cc", "at", "v1", "hi", "lo", \
\ "t0", "t1", "t2", "t3", "t4", "t5", "t6", "t7", "t8", "t9" \
); \ ); \
_arg4 ? -_num : _num; \ _arg4 ? -_num : _num; \
}) })
...@@ -1087,7 +1087,7 @@ struct sys_stat_struct { ...@@ -1087,7 +1087,7 @@ struct sys_stat_struct {
: "0"(_num), \ : "0"(_num), \
"r"(_arg1), "r"(_arg2), "r"(_arg3), "r"(_arg4) \ "r"(_arg1), "r"(_arg2), "r"(_arg3), "r"(_arg4) \
: "memory", "cc", "at", "v1", "hi", "lo", \ : "memory", "cc", "at", "v1", "hi", "lo", \
\ "t0", "t1", "t2", "t3", "t4", "t5", "t6", "t7", "t8", "t9" \
); \ ); \
_arg4 ? -_num : _num; \ _arg4 ? -_num : _num; \
}) })
...@@ -1110,7 +1110,7 @@ struct sys_stat_struct { ...@@ -1110,7 +1110,7 @@ struct sys_stat_struct {
: "0"(_num), \ : "0"(_num), \
"r"(_arg1), "r"(_arg2), "r"(_arg3), "r"(_arg4), "r"(_arg5) \ "r"(_arg1), "r"(_arg2), "r"(_arg3), "r"(_arg4), "r"(_arg5) \
: "memory", "cc", "at", "v1", "hi", "lo", \ : "memory", "cc", "at", "v1", "hi", "lo", \
\ "t0", "t1", "t2", "t3", "t4", "t5", "t6", "t7", "t8", "t9" \
); \ ); \
_arg4 ? -_num : _num; \ _arg4 ? -_num : _num; \
}) })
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment