aboutsummaryrefslogtreecommitdiffstats
path: root/arch/m68k/kernel/entry.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/m68k/kernel/entry.S')
-rw-r--r--arch/m68k/kernel/entry.S23
1 files changed, 9 insertions, 14 deletions
diff --git a/arch/m68k/kernel/entry.S b/arch/m68k/kernel/entry.S
index 45b2f293f8cf..a78f5649e8de 100644
--- a/arch/m68k/kernel/entry.S
+++ b/arch/m68k/kernel/entry.S
@@ -44,34 +44,29 @@
44 44
45.globl system_call, buserr, trap, resume 45.globl system_call, buserr, trap, resume
46.globl sys_call_table 46.globl sys_call_table
47.globl sys_fork, sys_clone, sys_vfork 47.globl __sys_fork, __sys_clone, __sys_vfork
48.globl ret_from_interrupt, bad_interrupt 48.globl ret_from_interrupt, bad_interrupt
49.globl auto_irqhandler_fixup 49.globl auto_irqhandler_fixup
50.globl user_irqvec_fixup 50.globl user_irqvec_fixup
51 51
52.text 52.text
53ENTRY(sys_fork) 53ENTRY(__sys_fork)
54 SAVE_SWITCH_STACK 54 SAVE_SWITCH_STACK
55 pea %sp@(SWITCH_STACK_SIZE) 55 jbsr sys_fork
56 jbsr m68k_fork 56 lea %sp@(24),%sp
57 addql #4,%sp
58 RESTORE_SWITCH_STACK
59 rts 57 rts
60 58
61ENTRY(sys_clone) 59ENTRY(__sys_clone)
62 SAVE_SWITCH_STACK 60 SAVE_SWITCH_STACK
63 pea %sp@(SWITCH_STACK_SIZE) 61 pea %sp@(SWITCH_STACK_SIZE)
64 jbsr m68k_clone 62 jbsr m68k_clone
65 addql #4,%sp 63 lea %sp@(28),%sp
66 RESTORE_SWITCH_STACK
67 rts 64 rts
68 65
69ENTRY(sys_vfork) 66ENTRY(__sys_vfork)
70 SAVE_SWITCH_STACK 67 SAVE_SWITCH_STACK
71 pea %sp@(SWITCH_STACK_SIZE) 68 jbsr sys_vfork
72 jbsr m68k_vfork 69 lea %sp@(24),%sp
73 addql #4,%sp
74 RESTORE_SWITCH_STACK
75 rts 70 rts
76 71
77ENTRY(sys_sigreturn) 72ENTRY(sys_sigreturn)