• Jonas Bonn's avatar
    openrisc: sanitize use of orig_gpr11 · 6cbe5e95
    Jonas Bonn authored
    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: default avatarJonas Bonn <jonas@southpole.se>
    6cbe5e95
ptrace.h 3.6 KB