patch-2.4.15 linux/arch/sparc/kernel/entry.S

Next file: linux/arch/sparc/kernel/process.c
Previous file: linux/arch/sparc/kernel/ebus.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.14/linux/arch/sparc/kernel/entry.S linux/arch/sparc/kernel/entry.S
@@ -1,4 +1,4 @@
-/* $Id: entry.S,v 1.169 2001/01/25 21:47:20 davem Exp $
+/* $Id: entry.S,v 1.170 2001/11/13 00:57:05 davem Exp $
  * arch/sparc/kernel/entry.S:  Sparc trap low-level entry points.
  *
  * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu)
@@ -1461,21 +1461,12 @@
 	b	2f
 	 mov	%i4, %o4
 
-	.globl	C_LABEL(ret_from_syscall)
-C_LABEL(ret_from_syscall):
-	b	C_LABEL(ret_sys_call)
-	 ld	[%sp + REGWIN_SZ + PT_I0], %o0
-
-#ifdef CONFIG_SMP
-	.globl	C_LABEL(ret_from_smpfork)
-C_LABEL(ret_from_smpfork):
-	wr	%l0, PSR_ET, %psr
-	WRITE_PAUSE
+	.globl	C_LABEL(ret_from_fork)
+C_LABEL(ret_from_fork):
 	call	schedule_tail
 	 mov	%g3, %o0
 	b	C_LABEL(ret_sys_call)
 	 ld	[%sp + REGWIN_SZ + PT_I0], %o0
-#endif
 
 	/* Linux native and SunOS system calls enter here... */
 	.align	4

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)