[MIPS] Fix struct sigcontext for N32 userland
commitdaf2642e8fde73fe282beda84ef3cda7639da4f2
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Sat, 17 Feb 2007 15:12:57 +0000 (18 00:12 +0900)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 19 Feb 2007 15:35:34 +0000 (19 15:35 +0000)
treeb46379587a7288e0d00fccd1015ae58c4eca5f29
parent5333ccc3c2f25aade3653f056cec9eba12209302
[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