]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit88288746343516f59539efc259cffc22204ecf2b
treecac47514d12483302e2a4180d15c639e241b120c
parent0f603dcb581f88edb2ead0bd212fbe71ef32ebad
[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