]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
sparc: Fix user_regset 'n' field values.
authorDavid S. Miller <davem@davemloft.net>
Fri, 12 Sep 2008 22:01:31 +0000 (15:01 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 12 Sep 2008 22:55:44 +0000 (15:55 -0700)
commit7d4ee289d139d27b619c08c9809e7b1088c100aa
treeb69eeae574a3888517ade9dfacd1813aa5b58b0e
parent80a56ab626c70468be92e74cf3d288ffaed23fdb
sparc: Fix user_regset 'n' field values.

As noticed by Russell King, we were not setting this properly
to the number of entries, but rather the total size.

This results in the core dumping code allocating waayyyy too
much memory.

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