diff options
author | Paul Mundt <lethal@linux-sh.org> | 2009-04-27 17:05:38 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-04-27 17:05:38 +0900 |
commit | ecd4ca52bfdb4108f47aa480781b97f037051a72 (patch) | |
tree | 7070eaf3a3b41209abc87792b58cdbf96aff8453 /arch/sh | |
parent | 6b3480855aad6e22ca90981a4c7893a7f41ffb47 (diff) | |
download | op-kernel-dev-ecd4ca52bfdb4108f47aa480781b97f037051a72.zip op-kernel-dev-ecd4ca52bfdb4108f47aa480781b97f037051a72.tar.gz |
sh: Fix up unsigned syscall_nr in SH-5 pt_regs.
syscall_nr is presently defined as unsigned in the SH-5 pt_regs,
while the syscall restarting code wants it to be signed. Fix this
up, and bring it in line with the other SH parts.
Reported-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh')
-rw-r--r-- | arch/sh/include/asm/ptrace.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/include/asm/ptrace.h b/arch/sh/include/asm/ptrace.h index d3f6caa..68e20ff 100644 --- a/arch/sh/include/asm/ptrace.h +++ b/arch/sh/include/asm/ptrace.h @@ -9,7 +9,7 @@ struct pt_regs { unsigned long long pc; unsigned long long sr; - unsigned long long syscall_nr; + long long syscall_nr; unsigned long long regs[63]; unsigned long long tregs[8]; unsigned long long pad[2]; |