powerpc: define a compat_sys_recv cond_syscall
authorStephen Rothwell <sfr@canb.auug.org.au>
Fri, 3 Sep 2010 03:19:04 +0000 (13:19 +1000)
committerWu Zhangjin <wuzhangjin@gmail.com>
Sat, 4 Jun 2011 20:01:42 +0000 (04:01 +0800)
commitb5e27dd7c998aab799ad26728516694260f063a9
treee69c10cde08ef83d2b507bc05f43fcb688316910
parent4c09274d3a7b6b05e9c027826a04e1db2ccf0b68
powerpc: define a compat_sys_recv cond_syscall

[ Picked 1ef21199a5d98702755cfa0df39b8b5112c423d6 from mainline 2.6.37. ]

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
[Zhangjin: MIPS also put the compat_sys_recv pointer in the system call
table for o32, without this fix, !CONFIG_NET will produce the following
building failure:

binfmt_elfo32.c:(.text.asm.sys32_syscall+0x5f8): undefined reference to `compat_sys_recv'
]
Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
kernel/sys_ni.c