[MIPS] Fix sigset_t endianess swapping issues in 32-bit compat code.
commitcb70899b0d8e972c755dbbd7ffd6fba7cc039ac6
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Wed, 14 Feb 2007 05:41:01 +0000 (14 14:41 +0900)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 14 Feb 2007 09:50:23 +0000 (14 09:50 +0000)
tree54fecb978396beecbe4c45c6c8f2ac6df1212580
parent728ba09890b820c11ac376565e91f3ebdc9d1242
[MIPS] Fix sigset_t endianess swapping issues in 32-bit compat code.

access_ok in compat-signal.h is wrong (checking destination instead of
source) and redundant (already checked before calling this function).

Also sf_mask in struct sigframe32 should be compat_sigset_t type.

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