MIPS: compat: Implement is_compat_task.
authorRalf Baechle <ralf@linux-mips.org>
Thu, 5 Mar 2009 10:45:48 +0000 (11:45 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 17 Mar 2009 00:32:46 +0000 (17:32 -0700)
commitb32cda4f0a78dd1d0e5a5ccde94c8aeb3e1370ec
tree24828144985ddfe337d2caf08c252e2d4a20a489
parent4bf9eb6fde5a5ed33f273be98bc9b0225e0a2edb
MIPS: compat: Implement is_compat_task.

commit 4302e5d53b9166d45317e3ddf0a7a9dab3efd43b upstream.

This is a build fix required after "x86-64: seccomp: fix 32/64 syscall
hole" (commit 5b1017404aea6d2e552e991b3fd814d839e9cd67).  MIPS doesn't
have the issue that was fixed for x86-64 by that patch.

This also doesn't solve the N32 issue which is that N32 seccomp processes
will be treated as non-compat processes thus only have access to N64
syscalls.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/mips/include/asm/compat.h