diff options
Diffstat (limited to 'arch/blackfin')
-rw-r--r-- | arch/blackfin/mach-common/entry.S | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/blackfin/mach-common/entry.S b/arch/blackfin/mach-common/entry.S index e463733f5c77..7d0368772cda 100644 --- a/arch/blackfin/mach-common/entry.S +++ b/arch/blackfin/mach-common/entry.S | |||
@@ -712,6 +712,11 @@ _schedule_and_signal_from_int: | |||
712 | p1.h = _evt_system_call; | 712 | p1.h = _evt_system_call; |
713 | [p0] = p1; | 713 | [p0] = p1; |
714 | csync; | 714 | csync; |
715 | |||
716 | /* Set orig_p0 to -1 to indicate this isn't the end of a syscall. */ | ||
717 | r0 = -1 (x); | ||
718 | [sp + PT_ORIG_P0] = r0; | ||
719 | |||
715 | p1 = rets; | 720 | p1 = rets; |
716 | [sp + PT_RESERVED] = p1; | 721 | [sp + PT_RESERVED] = p1; |
717 | 722 | ||