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>
parent
3ab5827e
Please register or sign in to comment