sparc: Fix regset register window handling.
authorDavid S. Miller <davem@davemloft.net>
Thu, 1 Apr 2010 01:05:05 +0000 (18:05 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 1 Apr 2010 01:05:05 +0000 (18:05 -0700)
commitb857bd292223f54aaae3693c82fa7299a99991cd
treed1df20123185c44c4dbac7c82720b71721f82255
parentc4a3987fa075b2d15ebc3d59b01fb7ed403cd3e1
sparc: Fix regset register window handling.

We have to adjust 'reg_window' down by 16 becuase the 'pos' iterator
we'll use to index into the stack slots will be between 16 and 32.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/ptrace_32.c
arch/sparc/kernel/ptrace_64.c