Commit f71c555d authored by Matthew Wilcox's avatar Matthew Wilcox Committed by Linus Torvalds

[PATCH] parisc: Add memory clobber to userspace syscall wrapper

Add memory clobber to userspace syscall wrapper provided by kernel,
this matches glibc definition.
Committed-by: default avatarCarlos O'Donell <carlos@parisc-linux.org>
parent 27fa0ecf
...@@ -789,7 +789,7 @@ ...@@ -789,7 +789,7 @@
K_LDW_ASM_PIC \ K_LDW_ASM_PIC \
: "=r" (__res) \ : "=r" (__res) \
: "i" (SYS_ify(name)) K_ASM_ARGS_##nr \ : "i" (SYS_ify(name)) K_ASM_ARGS_##nr \
: K_CALL_CLOB_REGS K_CLOB_ARGS_##nr \ : "memory", K_CALL_CLOB_REGS K_CLOB_ARGS_##nr \
); \ ); \
__sys_res = (long)__res; \ __sys_res = (long)__res; \
} \ } \
......
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