kernel: update ssb and bcma to linux-next next-20110627
[openwrt.git] / target / linux / generic / patches-3.0 / 010-mips_wire_up_new_sendmmsg_syscall.patch
1 --- a/arch/mips/include/asm/unistd.h
2 +++ b/arch/mips/include/asm/unistd.h
3 @@ -363,17 +363,18 @@
4 #define __NR_open_by_handle_at (__NR_Linux + 340)
5 #define __NR_clock_adjtime (__NR_Linux + 341)
6 #define __NR_syncfs (__NR_Linux + 342)
7 -#define __NR_setns (__NR_Linux + 343)
8 +#define __NR_sendmmsg (__NR_Linux + 343)
9 +#define __NR_setns (__NR_Linux + 344)
10
11 /*
12 * Offset of the last Linux o32 flavoured syscall
13 */
14 -#define __NR_Linux_syscalls 343
15 +#define __NR_Linux_syscalls 344
16
17 #endif /* _MIPS_SIM == _MIPS_SIM_ABI32 */
18
19 #define __NR_O32_Linux 4000
20 -#define __NR_O32_Linux_syscalls 343
21 +#define __NR_O32_Linux_syscalls 344
22
23 #if _MIPS_SIM == _MIPS_SIM_ABI64
24
25 --- a/arch/mips/kernel/scall32-o32.S
26 +++ b/arch/mips/kernel/scall32-o32.S
27 @@ -589,6 +589,7 @@ einval: li v0, -ENOSYS
28 sys sys_open_by_handle_at 3 /* 4340 */
29 sys sys_clock_adjtime 2
30 sys sys_syncfs 1
31 + sys sys_sendmmsg 4
32 sys sys_setns 2
33 .endm
34
35 --- a/arch/mips/kernel/scall64-64.S
36 +++ b/arch/mips/kernel/scall64-64.S
37 @@ -428,5 +428,6 @@ sys_call_table:
38 PTR sys_open_by_handle_at
39 PTR sys_clock_adjtime /* 5300 */
40 PTR sys_syncfs
41 + PTR sys_sendmmsg
42 PTR sys_setns
43 .size sys_call_table,.-sys_call_table
44 --- a/arch/mips/kernel/scall64-n32.S
45 +++ b/arch/mips/kernel/scall64-n32.S
46 @@ -428,5 +428,6 @@ EXPORT(sysn32_call_table)
47 PTR sys_open_by_handle_at
48 PTR compat_sys_clock_adjtime /* 6305 */
49 PTR sys_syncfs
50 + PTR compat_sys_sendmmsg
51 PTR sys_setns
52 .size sysn32_call_table,.-sysn32_call_table
53 --- a/arch/mips/kernel/scall64-o32.S
54 +++ b/arch/mips/kernel/scall64-o32.S
55 @@ -546,5 +546,6 @@ sys_call_table:
56 PTR compat_sys_open_by_handle_at /* 4340 */
57 PTR compat_sys_clock_adjtime
58 PTR sys_syncfs
59 + PTR compat_sys_sendmmsg
60 PTR sys_setns
61 .size sys_call_table,.-sys_call_table
This page took 0.045345 seconds and 5 git commands to generate.