[avr32]: upgrade to 2.6.36
[openwrt.git] / target / linux / avr32 / patches / 001-use_generic_syscall_defines.patch
1 From e9c8bb3f2bf792fd63f3ab2e1f5333267d1155fe Mon Sep 17 00:00:00 2001
2 From: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
3 Date: Wed, 3 Nov 2010 10:25:45 +0100
4 Subject: [PATCH 1/1] avr32: use generic syscall defines instead of arch specific
5
6 This patch removes the duplicated syscall function defines in syscalls.h and
7 relies on the generic defines in the asm-generic directory. This fix makes
8 AVR32 architecture compile again, as the duplicated syscalls.h functions came
9 in conflict with other patches.
10
11 Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
12 ---
13  arch/avr32/include/asm/syscalls.h |    9 ---------
14  1 files changed, 0 insertions(+), 9 deletions(-)
15
16 --- a/arch/avr32/include/asm/syscalls.h
17 +++ b/arch/avr32/include/asm/syscalls.h
18 @@ -16,18 +16,9 @@
19  #include <linux/signal.h>
20  
21  /* kernel/process.c */
22 -asmlinkage int sys_fork(struct pt_regs *);
23  asmlinkage int sys_clone(unsigned long, unsigned long,
24                          unsigned long, unsigned long,
25                          struct pt_regs *);
26 -asmlinkage int sys_vfork(struct pt_regs *);
27 -asmlinkage int sys_execve(const char __user *, char __user *__user *,
28 -                         char __user *__user *, struct pt_regs *);
29 -
30 -/* kernel/signal.c */
31 -asmlinkage int sys_sigaltstack(const stack_t __user *, stack_t __user *,
32 -                              struct pt_regs *);
33 -asmlinkage int sys_rt_sigreturn(struct pt_regs *);
34  
35  /* mm/cache.c */
36  asmlinkage int sys_cacheflush(int, void __user *, size_t);