aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/include
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-10-27 00:13:51 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2012-11-28 22:36:47 -0500
commit0ad9513d0f81584c25f3fc7ff582c382cc1a93f7 (patch)
tree1bf616181ff9fb07d413d5e949e9ea0527fc1915 /arch/sh/include
parent415bfae9e9dbc2232f1797a3ac78a22049a75e06 (diff)
sh: switch to generic fork/vfork/clone
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/sh/include')
-rw-r--r--arch/sh/include/asm/syscalls_32.h10
-rw-r--r--arch/sh/include/asm/syscalls_64.h13
-rw-r--r--arch/sh/include/asm/unistd.h3
3 files changed, 3 insertions, 23 deletions
diff --git a/arch/sh/include/asm/syscalls_32.h b/arch/sh/include/asm/syscalls_32.h
index d2f89f1741f4..cc25485996bb 100644
--- a/arch/sh/include/asm/syscalls_32.h
+++ b/arch/sh/include/asm/syscalls_32.h
@@ -9,16 +9,6 @@
9 9
10struct pt_regs; 10struct pt_regs;
11 11
12asmlinkage int sys_fork(unsigned long r4, unsigned long r5,
13 unsigned long r6, unsigned long r7,
14 struct pt_regs __regs);
15asmlinkage int sys_clone(unsigned long clone_flags, unsigned long newsp,
16 unsigned long parent_tidptr,
17 unsigned long child_tidptr,
18 struct pt_regs __regs);
19asmlinkage int sys_vfork(unsigned long r4, unsigned long r5,
20 unsigned long r6, unsigned long r7,
21 struct pt_regs __regs);
22asmlinkage int sys_sigsuspend(old_sigset_t mask); 12asmlinkage int sys_sigsuspend(old_sigset_t mask);
23asmlinkage int sys_sigaction(int sig, const struct old_sigaction __user *act, 13asmlinkage int sys_sigaction(int sig, const struct old_sigaction __user *act,
24 struct old_sigaction __user *oact); 14 struct old_sigaction __user *oact);
diff --git a/arch/sh/include/asm/syscalls_64.h b/arch/sh/include/asm/syscalls_64.h
index 3fedd9f1fab5..d62e8eb22f74 100644
--- a/arch/sh/include/asm/syscalls_64.h
+++ b/arch/sh/include/asm/syscalls_64.h
@@ -9,19 +9,6 @@
9 9
10struct pt_regs; 10struct pt_regs;
11 11
12asmlinkage int sys_fork(unsigned long r2, unsigned long r3,
13 unsigned long r4, unsigned long r5,
14 unsigned long r6, unsigned long r7,
15 struct pt_regs *pregs);
16asmlinkage int sys_clone(unsigned long clone_flags, unsigned long newsp,
17 unsigned long r4, unsigned long r5,
18 unsigned long r6, unsigned long r7,
19 struct pt_regs *pregs);
20asmlinkage int sys_vfork(unsigned long r2, unsigned long r3,
21 unsigned long r4, unsigned long r5,
22 unsigned long r6, unsigned long r7,
23 struct pt_regs *pregs);
24
25/* Misc syscall related bits */ 12/* Misc syscall related bits */
26asmlinkage long long do_syscall_trace_enter(struct pt_regs *regs); 13asmlinkage long long do_syscall_trace_enter(struct pt_regs *regs);
27asmlinkage void do_syscall_trace_leave(struct pt_regs *regs); 14asmlinkage void do_syscall_trace_leave(struct pt_regs *regs);
diff --git a/arch/sh/include/asm/unistd.h b/arch/sh/include/asm/unistd.h
index f1f4775766a6..43d3f26b2eab 100644
--- a/arch/sh/include/asm/unistd.h
+++ b/arch/sh/include/asm/unistd.h
@@ -29,6 +29,9 @@
29# define __ARCH_WANT_SYS_SIGPROCMASK 29# define __ARCH_WANT_SYS_SIGPROCMASK
30# define __ARCH_WANT_SYS_RT_SIGACTION 30# define __ARCH_WANT_SYS_RT_SIGACTION
31# define __ARCH_WANT_SYS_EXECVE 31# define __ARCH_WANT_SYS_EXECVE
32# define __ARCH_WANT_SYS_FORK
33# define __ARCH_WANT_SYS_VFORK
34# define __ARCH_WANT_SYS_CLONE
32 35
33/* 36/*
34 * "Conditional" syscalls 37 * "Conditional" syscalls