diff options
| author | Jonas Bonn <[email protected]> | 2012-03-02 09:05:24 +0000 |
|---|---|---|
| committer | Jonas Bonn <[email protected]> | 2012-03-06 09:37:00 +0000 |
| commit | 6cbe5e95267449ea0b79c0b049342409949da3ac (patch) | |
| tree | 21243a6c899b27f67338d77a28ccbe0f473272bc /lib/string_helpers.c | |
| parent | openrisc: fix virt_addr_valid (diff) | |
| download | kernel-6cbe5e95267449ea0b79c0b049342409949da3ac.tar.gz kernel-6cbe5e95267449ea0b79c0b049342409949da3ac.zip | |
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 <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions
