summaryrefslogtreecommitdiffstats
path: root/arch/m68k/coldfire/entry.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/m68k/coldfire/entry.S')
-rw-r--r--arch/m68k/coldfire/entry.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/m68k/coldfire/entry.S b/arch/m68k/coldfire/entry.S
index 52d312d5b..fb3b06567 100644
--- a/arch/m68k/coldfire/entry.S
+++ b/arch/m68k/coldfire/entry.S
@@ -92,6 +92,8 @@ ENTRY(system_call)
jbsr syscall_trace_enter
RESTORE_SWITCH_STACK
addql #4,%sp
+ addql #1,%d0
+ jeq ret_from_exception
movel %d3,%a0
jbsr %a0@
movel %d0,%sp@(PT_OFF_D0) /* save the return value */