aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/include/asm/ptrace.h
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-04-27 17:05:38 +0900
committerPaul Mundt <lethal@linux-sh.org>2009-04-27 17:05:38 +0900
commitecd4ca52bfdb4108f47aa480781b97f037051a72 (patch)
tree7070eaf3a3b41209abc87792b58cdbf96aff8453 /arch/sh/include/asm/ptrace.h
parentmaple: input: fix up maple mouse driver (diff)
downloadlinux-dev-ecd4ca52bfdb4108f47aa480781b97f037051a72.tar.xz
linux-dev-ecd4ca52bfdb4108f47aa480781b97f037051a72.zip
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 '')
-rw-r--r--arch/sh/include/asm/ptrace.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/include/asm/ptrace.h b/arch/sh/include/asm/ptrace.h
index d3f6caa936b0..68e20ff9aa9b 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];