2 * linux/arch/m68knommu/kernel/entry.S
4 * Copyright (C) 1999-2002, Greg Ungerer (gerg@snapgear.com)
5 * Copyright (C) 1998 D. Jeff Dionne <jeff@lineo.ca>,
6 * Kenneth Albanowski <kjahds@kjahds.com>,
7 * Copyright (C) 2000 Lineo Inc. (www.lineo.com)
11 * linux/arch/m68k/kernel/entry.S
13 * Copyright (C) 1991, 1992 Linus Torvalds
15 * This file is subject to the terms and conditions of the GNU General Public
16 * License. See the file README.legal in the main directory of this archive
19 * Linux/m68k support by Hamish Macdonald
21 * 68060 fixes by Jesper Skov
22 * ColdFire support by Greg Ungerer (gerg@snapgear.com)
23 * 5307 fixes by David W. Miller
24 * linux 2.4 support David McCullough <davidm@snapgear.com>
27 #include <linux/linkage.h>
28 #include <asm/errno.h>
29 #include <asm/setup.h>
30 #include <asm/segment.h>
31 #include <asm/asm-offsets.h>
32 #include <asm/entry.h>
33 #include <asm/unistd.h>
39 .globl ret_from_exception
40 .globl ret_from_signal
48 movel %sp,%sp@- /* stack frame pointer argument */
51 jra ret_from_exception
56 movel %sp,%sp@- /* stack frame pointer argument */
59 jra ret_from_exception
61 #ifdef TRAP_DBG_INTERRUPT
67 movel %sp,%sp@- /* stack frame pointer argument */
70 jra ret_from_exception
74 /* save top of frame */
78 pea ret_from_exception
85 jra ret_from_exception
89 pea %sp@(SWITCH_STACK_SIZE)
97 pea %sp@(SWITCH_STACK_SIZE)
105 pea %sp@(SWITCH_STACK_SIZE)
117 ENTRY(sys_rt_sigreturn)
123 ENTRY(ret_from_user_signal)
124 moveq #__NR_sigreturn,%d0
127 ENTRY(ret_from_user_rt_signal)
128 movel #__NR_rt_sigreturn,%d0