aboutsummaryrefslogtreecommitdiffstats
path: root/arch/tile
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-11-28 23:04:26 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2012-11-28 23:43:27 -0500
commit24465a40ba452bd81fdc9eecb2d75bb903aafdf6 (patch)
tree859765acda3c65273fce6601029a7c4d8002c41d /arch/tile
parent1ea2a0160588582cd8414a8026d5b54f1705dfa1 (diff)
take sys_fork/sys_vfork/sys_clone prototypes to linux/syscalls.h
now it can be done... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/tile')
-rw-r--r--arch/tile/include/asm/syscalls.h3
-rw-r--r--arch/tile/kernel/compat.c1
-rw-r--r--arch/tile/kernel/sys.c1
3 files changed, 0 insertions, 5 deletions
diff --git a/arch/tile/include/asm/syscalls.h b/arch/tile/include/asm/syscalls.h
index 394c76f2dc76..4c8462a62cb6 100644
--- a/arch/tile/include/asm/syscalls.h
+++ b/arch/tile/include/asm/syscalls.h
@@ -63,11 +63,8 @@ long sys_ftruncate64(unsigned int fd, loff_t length);
63#endif 63#endif
64 64
65/* Provide versions of standard syscalls that use current_pt_regs(). */ 65/* Provide versions of standard syscalls that use current_pt_regs(). */
66long sys_clone(unsigned long clone_flags, unsigned long newsp,
67 void __user *parent_tid, void __user *child_tid);
68long sys_rt_sigreturn(void); 66long sys_rt_sigreturn(void);
69long sys_sigaltstack(const stack_t __user *, stack_t __user *); 67long sys_sigaltstack(const stack_t __user *, stack_t __user *);
70#define sys_clone sys_clone
71#define sys_rt_sigreturn sys_rt_sigreturn 68#define sys_rt_sigreturn sys_rt_sigreturn
72#define sys_sigaltstack sys_sigaltstack 69#define sys_sigaltstack sys_sigaltstack
73 70
diff --git a/arch/tile/kernel/compat.c b/arch/tile/kernel/compat.c
index a2e805569d5d..9cd7cb6041c0 100644
--- a/arch/tile/kernel/compat.c
+++ b/arch/tile/kernel/compat.c
@@ -104,7 +104,6 @@ long compat_sys_sched_rr_get_interval(compat_pid_t pid,
104 104
105/* Call the assembly trampolines where necessary. */ 105/* Call the assembly trampolines where necessary. */
106#define compat_sys_rt_sigreturn _compat_sys_rt_sigreturn 106#define compat_sys_rt_sigreturn _compat_sys_rt_sigreturn
107#undef sys_clone
108#define sys_clone _sys_clone 107#define sys_clone _sys_clone
109 108
110/* 109/*
diff --git a/arch/tile/kernel/sys.c b/arch/tile/kernel/sys.c
index 02ff5c0ef775..b881a7be24bd 100644
--- a/arch/tile/kernel/sys.c
+++ b/arch/tile/kernel/sys.c
@@ -109,7 +109,6 @@ SYSCALL_DEFINE6(mmap, unsigned long, addr, unsigned long, len,
109/* Call the assembly trampolines where necessary. */ 109/* Call the assembly trampolines where necessary. */
110#undef sys_rt_sigreturn 110#undef sys_rt_sigreturn
111#define sys_rt_sigreturn _sys_rt_sigreturn 111#define sys_rt_sigreturn _sys_rt_sigreturn
112#undef sys_clone
113#define sys_clone _sys_clone 112#define sys_clone _sys_clone
114 113
115/* 114/*