summaryrefslogtreecommitdiff
path: root/arch/sparc/kernel/systbls.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2018-03-19 23:26:39 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2018-03-20 12:04:00 -0400
commit6de7617e8892666073a9a8f6ba7e2f7882f4cadc (patch)
tree6689525c681c1fd32e96ec243e53dce30bd81df0 /arch/sparc/kernel/systbls.h
parentee076e81fc14ca79334d02970cea66604f183a14 (diff)
sparc: get rid of memory_ordering(2) wrapper
use current_pt_regs() in it instead Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/sparc/kernel/systbls.h')
-rw-r--r--arch/sparc/kernel/systbls.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/sparc/kernel/systbls.h b/arch/sparc/kernel/systbls.h
index 432aa84ad009..3352dbac9d55 100644
--- a/arch/sparc/kernel/systbls.h
+++ b/arch/sparc/kernel/systbls.h
@@ -46,8 +46,7 @@ asmlinkage long sys_utrap_install(utrap_entry_t type,
utrap_handler_t new_d,
utrap_handler_t __user *old_p,
utrap_handler_t __user *old_d);
-asmlinkage long sparc_memory_ordering(unsigned long model,
- struct pt_regs *regs);
+asmlinkage long sys_memory_ordering(unsigned long model);
asmlinkage void sparc64_set_context(struct pt_regs *regs);
asmlinkage void sparc64_get_context(struct pt_regs *regs);
asmlinkage long sys32_truncate64(const char __user * path,