[MIPS] Store sign-extend register values for PTRACE_GETREGS
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Thu, 25 Oct 2007 15:53:02 +0000 (00:53 +0900)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 29 Oct 2007 19:35:36 +0000 (19:35 +0000)
A comment on ptrace_getregs() states "Registers are sign extended to
fill the available space." but it is not true.  Fix code to match the
comment.  Also fix casts on each caller to get rid of some warnings.

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

No differences found