patch-2.1.34 linux/arch/sparc/kernel/rtrap.S

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

diff -u --recursive --new-file v2.1.33/linux/arch/sparc/kernel/rtrap.S linux/arch/sparc/kernel/rtrap.S
@@ -1,4 +1,4 @@
-/* $Id: rtrap.S,v 1.45 1997/03/04 16:26:27 jj Exp $
+/* $Id: rtrap.S,v 1.46 1997/04/01 02:21:48 davem Exp $
  * rtrap.S: Return from Sparc trap low-level code.
  *
  * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu)
@@ -48,13 +48,8 @@
 	.globl	rtrap_patch3, rtrap_patch4, rtrap_patch5
 	.globl	C_LABEL(ret_trap_lockless_ipi)
 ret_trap_entry:
-	sethi	%hi(C_LABEL(intr_count)), %g4
-	ld	[%g4 + %lo(C_LABEL(intr_count))], %g5
-	orcc	%g5, 0x0, %g0
 	sethi	%hi(C_LABEL(bh_active)), %l3
-	bne	C_LABEL(ret_trap_lockless_ipi)
-	 sethi	%hi(C_LABEL(bh_mask)), %l4
-9:
+	sethi	%hi(C_LABEL(bh_mask)), %l4
 	ld	[%l4 + %lo(C_LABEL(bh_mask))], %g5
 	ld	[%l3 + %lo(C_LABEL(bh_active))], %g4
 	andcc	%g4, %g5, %g0
@@ -62,7 +57,6 @@
 	 nop
 	call	C_LABEL(do_bottom_half)
 	 nop
-	b,a	9b
 
 C_LABEL(ret_trap_lockless_ipi):
 	andcc	%t_psr, PSR_PS, %g0

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov