linux_dsm_epyc7002/arch/powerpc/include
Alexey Kardashevskiy ee4a391661 powerpc: fixing ptrace_get_reg to return an error
Currently ptrace_get_reg returns error as a value
what make impossible to tell whether it is a correct value or error code.

The patch adds a parameter which points to the real return data and
returns an error code.

As get_user_msr() never fails and it is used in multiple places so it has not
been changed by this patch.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Acked-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
2013-04-18 13:03:57 +10:00
..
asm powerpc: fixing ptrace_get_reg to return an error 2013-04-18 13:03:57 +10:00
uapi/asm powerpc: Wireup the kcmp syscall to sys_ni 2013-03-05 16:56:29 +11:00