svn commit: r348835 - head/sys/riscv/riscv

Mitchell Horne mhorne at FreeBSD.org
Sun Jun 9 15:36:52 UTC 2019


Author: mhorne
Date: Sun Jun  9 15:36:51 2019
New Revision: 348835
URL: https://svnweb.freebsd.org/changeset/base/348835

Log:
  Remove block of dead code
  
  Approved by:	markj (mentor)

Modified:
  head/sys/riscv/riscv/exception.S

Modified: head/sys/riscv/riscv/exception.S
==============================================================================
--- head/sys/riscv/riscv/exception.S	Sun Jun  9 12:41:21 2019	(r348834)
+++ head/sys/riscv/riscv/exception.S	Sun Jun  9 15:36:51 2019	(r348835)
@@ -81,16 +81,6 @@ __FBSDID("$FreeBSD$");
 	sd	a6, (TF_A + 6 * 8)(sp)
 	sd	a7, (TF_A + 7 * 8)(sp)
 
-#if 0
-	/* XXX: temporary test: spin if stack is not kernel one */
-.if \el == 1	/* kernel */
-	mv	t0, sp
-	srli	t0, t0, 63
-1:
-	beqz	t0, 1b
-.endif
-#endif
-
 .if \el == 1
 	/* Store kernel sp */
 	li	t1, TF_SIZE


More information about the svn-src-all mailing list