]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
[MIPS] Use SYSVIPC_COMPAT to fix various problems on N32
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Tue, 7 Nov 2006 09:02:44 +0000 (18:02 +0900)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 4 Dec 2006 22:43:12 +0000 (22:43 +0000)
commit05e4396651ca1cac51d8da9ff4992741c9dc1e39
tree15881e19dfd7550dbe26245a356a10a979577086
parent9567772f14f6d2692ea88ddc111a5a6b352fd512
[MIPS] Use SYSVIPC_COMPAT to fix various problems on N32

N32 SysV IPC system calls should use 32-bit compatible code.
arch/mips/kernel/linux32.c have similar compatible code for O32, but
ipc/compat.c seems more complete.  We can use it for both N32 and O32.

This patch should fix these problems (and other possible problems):

http://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=1149188824.6986.6.camel%40diimka-laptop
http://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=44C6B829.8050508%40caviumnetworks.com

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/Kconfig
arch/mips/kernel/linux32.c
arch/mips/kernel/scall64-n32.S
include/asm-mips/compat.h