[MIPS] Fix struct sigcontext for N32 userland
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Sat, 17 Feb 2007 15:12:57 +0000 (00:12 +0900)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 20 Feb 2007 01:26:42 +0000 (01:26 +0000)
commit269dd2b2526d046d8b43554ff27b486e2ddb3f08
treee4e8585e4d35aaca9034bdf9196eca78bc893172
parentf49a747c4adadd96addf4dbf4a44f439513fb29b
[MIPS] Fix struct sigcontext for N32 userland

The kernel use 64-bit for sc_regs[0], and both N32/N64 userland
expects it was 64-bit.  But size of 'long' on N32 is actually 32-bit.
So this definition make some confusion.  Use __u32 and __u64 for
N32/N64 sigcontext to get rid of this confusion.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
include/asm-mips/sigcontext.h