Commit 24465a40 authored by Al Viro's avatar Al Viro
Browse files

take sys_fork/sys_vfork/sys_clone prototypes to linux/syscalls.h



now it can be done...

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 1ea2a016
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -27,14 +27,6 @@ asmlinkage long sys_rt_sigreturn_wrapper(void);
asmlinkage long sys_sigaltstack_wrapper(const stack_t __user *uss,
					stack_t __user *uoss);

/*
 * AArch64 sys_clone implementation has a different prototype than the generic
 * one (additional TLS value argument).
 */
asmlinkage long sys_clone(unsigned long, unsigned long, void __user *, int,
	       void __user *);
#define sys_clone	sys_clone

#include <asm-generic/syscalls.h>

#endif	/* __ASM_SYSCALLS_H */
+0 −5
Original line number Diff line number Diff line
@@ -25,11 +25,6 @@ typedef long (*syscall_fn)(unsigned long, unsigned long,
	unsigned long, unsigned long,
	unsigned long, unsigned long);

asmlinkage int sys_clone(unsigned long clone_flags, unsigned long newsp,
			 unsigned long parent_tidp, unsigned long child_tidp);

#define sys_clone	sys_clone

#include <asm-generic/syscalls.h>

extern void *sys_call_table[];
+1 −0
Original line number Diff line number Diff line
@@ -3,3 +3,4 @@ include include/asm-generic/Kbuild.asm
header-y  += elf.h
generic-y += clkdev.h
generic-y += exec.h
generic-y += syscalls.h
+0 −16
Original line number Diff line number Diff line
#ifndef __ASM_MICROBLAZE_SYSCALLS_H

asmlinkage long microblaze_vfork(struct pt_regs *regs);
asmlinkage long microblaze_clone(int flags, unsigned long stack,
							struct pt_regs *regs);
asmlinkage long microblaze_execve(const char __user *filenamei,
				  const char __user *const __user *argv,
				  const char __user *const __user *envp,
				  struct pt_regs *regs);

asmlinkage long sys_clone(int flags, unsigned long stack, struct pt_regs *regs);
#define sys_clone sys_clone

#include <asm-generic/syscalls.h>

#endif /* __ASM_MICROBLAZE_SYSCALLS_H */
+0 −4
Original line number Diff line number Diff line
@@ -54,10 +54,6 @@ long sys_s390_fadvise64(int fd, u32 offset_high, u32 offset_low,
long sys_s390_fadvise64_64(struct fadvise64_64_args __user *args);
long sys_s390_fallocate(int fd, int mode, loff_t offset, u32 len_high,
			u32 len_low);
long sys_fork(void);
long sys_clone(unsigned long newsp, unsigned long clone_flags,
	       int __user *parent_tidptr, int __user *child_tidptr);
long sys_vfork(void);
long sys_sigsuspend(int history0, int history1, old_sigset_t mask);
long sys_sigaction(int sig, const struct old_sigaction __user *act,
		   struct old_sigaction __user *oact);
Loading