commit | 6cbe5e95267449ea0b79c0b049342409949da3ac | [log] [tgz] |
---|---|---|
author | Jonas Bonn <jonas@southpole.se> | Fri Mar 02 10:05:24 2012 +0100 |
committer | Jonas Bonn <jonas@southpole.se> | Tue Mar 06 10:37:00 2012 +0100 |
tree | 21243a6c899b27f67338d77a28ccbe0f473272bc | |
parent | 2f099a280e92c259598d8ed8da82c7ec2dd49845 [diff] |
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 <jonas@southpole.se>