From: Paul Mundt Date: Mon, 27 Apr 2009 08:05:38 +0000 (+0900) Subject: sh: Fix up unsigned syscall_nr in SH-5 pt_regs. X-Git-Tag: v2.6.30-rc4~26^2 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=ecd4ca52bfdb4108f47aa480781b97f037051a72;p=karo-tx-linux.git 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 Signed-off-by: Paul Mundt --- 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];