diff options
Diffstat (limited to 'arch/mn10300/kernel/entry.S')
-rw-r--r-- | arch/mn10300/kernel/entry.S | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/mn10300/kernel/entry.S b/arch/mn10300/kernel/entry.S index 8e11f9f48999..000f144230a5 100644 --- a/arch/mn10300/kernel/entry.S +++ b/arch/mn10300/kernel/entry.S | |||
@@ -55,6 +55,13 @@ ENTRY(ret_from_fork) | |||
55 | mov d0,(REG_D0,fp) | 55 | mov d0,(REG_D0,fp) |
56 | jmp syscall_exit | 56 | jmp syscall_exit |
57 | 57 | ||
58 | ENTRY(ret_from_kernel_thread) | ||
59 | call schedule_tail[],0 | ||
60 | mov (REG_D0,fp),d0 | ||
61 | mov (REG_A0,fp),a0 | ||
62 | calls (a0) | ||
63 | jmp sys_exit | ||
64 | |||
58 | ############################################################################### | 65 | ############################################################################### |
59 | # | 66 | # |
60 | # system call handler | 67 | # system call handler |