diff options
Diffstat (limited to 'src/thread/or1k')
-rw-r--r-- | src/thread/or1k/syscall_cp.s | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/thread/or1k/syscall_cp.s b/src/thread/or1k/syscall_cp.s index 2c0bf0e8..7951166e 100644 --- a/src/thread/or1k/syscall_cp.s +++ b/src/thread/or1k/syscall_cp.s @@ -12,7 +12,7 @@ __syscall_cp_asm: __cp_begin: l.lwz r3, 0(r3) l.sfeqi r3, 0 - l.bnf __cancel + l.bnf __cp_cancel l.ori r11, r4, 0 l.ori r3, r5, 0 l.ori r4, r6, 0 @@ -24,3 +24,6 @@ __cp_begin: __cp_end: l.jr r9 l.nop +__cp_cancel: + l.j __cancel + l.nop |