]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[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)
commit62b14c24b10033591bbab16dea165d696a616f37
tree838b49148ee2a558d71d8ab7dc92b2e6b230d53b
parent26c288f82c74dba08da6321c626c101a7aa8575b
[MIPS] Store sign-extend register values for PTRACE_GETREGS

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>
arch/mips/kernel/ptrace.c
arch/mips/kernel/ptrace32.c