From: Jonas Bonn Date: Fri, 2 Mar 2012 09:05:24 +0000 (+0100) Subject: openrisc: sanitize use of orig_gpr11 X-Git-Tag: v3.4-rc1~106^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6cbe5e95267449ea0b79c0b049342409949da3ac;p=pandora-kernel.git openrisc: sanitize use of orig_gpr11 The pt_regs struct had both a 'syscallno' field and an 'orig_gpr11' field and it wasn't really clear how these were supposed to be used. This patch removes the syscallno field altogether and makes orig_gpr11 work more like other architectures: keep track of syscall number in progress or hold -1 for non-syscall exceptions. Signed-off-by: Jonas Bonn --- Reading git-diff-tree failed