From: Hans-Christian Egtvedt Date: Wed, 8 Dec 2010 23:19:33 +0000 (+0100) Subject: avr32: use syscall prototypes from asm-generic instead of arch X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=664cb7142ced8b827e92e1851d1ed2cae922f225;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git avr32: use syscall prototypes from asm-generic instead of arch This patch removes the redundant syscalls prototypes in the architecture specific syscalls.h header file. These were identical with the ones in asm-generic/syscalls.h. Signed-off-by: Hans-Christian Egtvedt Reported-by: Peter Huewe Reported-by: Sven Schnelle Cc: stable --- diff --git a/arch/avr32/include/asm/syscalls.h b/arch/avr32/include/asm/syscalls.h index ab608b70b24d..730a461c606f 100644 --- a/arch/avr32/include/asm/syscalls.h +++ b/arch/avr32/include/asm/syscalls.h @@ -16,18 +16,9 @@ #include /* kernel/process.c */ -asmlinkage int sys_fork(struct pt_regs *); asmlinkage int sys_clone(unsigned long, unsigned long, unsigned long, unsigned long, struct pt_regs *); -asmlinkage int sys_vfork(struct pt_regs *); -asmlinkage int sys_execve(const char __user *, char __user *__user *, - char __user *__user *, struct pt_regs *); - -/* kernel/signal.c */ -asmlinkage int sys_sigaltstack(const stack_t __user *, stack_t __user *, - struct pt_regs *); -asmlinkage int sys_rt_sigreturn(struct pt_regs *); /* mm/cache.c */ asmlinkage int sys_cacheflush(int, void __user *, size_t);