[MIPS] Fix sigset_t endianess swapping issues in 32-bit compat code.
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Wed, 14 Feb 2007 05:41:01 +0000 (14:41 +0900)
committerRalf Baechle <ralf@linux-mips.org>
Sun, 18 Feb 2007 21:31:33 +0000 (21:31 +0000)
commit755f21bb894d3fe57017f5aa8f7ace8808fcb1e3
treecac47514d12483302e2a4180d15c639e241b120c
parent8a03d9a498eaf02c8a118752050a5154852c13bf
[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