diff options
| author | Alexey Kardashevskiy <[email protected]> | 2013-02-14 17:44:23 +0000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2013-04-18 13:03:57 +1000 |
| commit | ee4a3916614829914830bc4371358f4d4a63c4d9 (patch) | |
| tree | ba1c65ba0a58933b8d9d43fe0374bdbc775338ad /scripts/stackusage | |
| parent | 3cc33d50f52521760da29ebd9db239741da7f21a (diff) | |
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 <[email protected]>
Acked-by: Michael Neuling <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions