patch-2.1.79 linux/arch/sparc64/kernel/dtlb_miss.S

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

diff -u --recursive --new-file v2.1.78/linux/arch/sparc64/kernel/dtlb_miss.S linux/arch/sparc64/kernel/dtlb_miss.S
@@ -1,4 +1,4 @@
-/* $Id: dtlb_miss.S,v 1.13 1997/08/14 19:27:15 davem Exp $
+/* $Id: dtlb_miss.S,v 1.14 1997/10/14 01:48:28 davem Exp $
  * dtlb_miss.S:	Data TLB miss code, this is included directly
  *              into the trap table.
  *
@@ -53,10 +53,10 @@
   /*0x24*/	srlx		%g1, 1, %g1				! PTE offset
 2:/*0x28*/	ldxa		[%g5 + %g4] ASI_PHYS_USE_EC, %g3	! Load PMD
   /*0x2c*/	ldxa		[%g3 + %g1] ASI_PHYS_USE_EC, %g5	! Load PTE
-  /*0x30*/	brlz,a,pt	%g5, 1f					! Valid set?
-  /*0x34*/	 stxa		%g5, [%g0] ASI_DTLB_DATA_IN		! TLB load
-  /*0x38*/	ba,a,pt		%xcc, sparc64_dtlb_refbit_catch		! Nope...
-1:/*0x3c*/	retry							! Trap return
+  /*0x30*/	brgez,pn	%g5, sparc64_dtlb_refbit_catch		! Valid set?
+  /*0x34*/	 nop							! delay
+  /*0x38*/	stxa		%g5, [%g0] ASI_DTLB_DATA_IN		! TLB load
+  /*0x3c*/	retry							! Trap return
 
 3:				/* ICACHE line 3 */
   /*0x40*/	sllx		%g1, 22, %g5			! This is now physical page + PAGE_OFFSET

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