]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
sh: Fix up unsigned syscall_nr in SH-5 pt_regs.
authorPaul Mundt <lethal@linux-sh.org>
Mon, 27 Apr 2009 08:05:38 +0000 (17:05 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 27 Apr 2009 08:05:38 +0000 (17:05 +0900)
commitecd4ca52bfdb4108f47aa480781b97f037051a72
tree7070eaf3a3b41209abc87792b58cdbf96aff8453
parent6b3480855aad6e22ca90981a4c7893a7f41ffb47
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>
arch/sh/include/asm/ptrace.h