Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Jun 2019 15:36:51 +0000 (UTC)
From:      Mitchell Horne <mhorne@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r348835 - head/sys/riscv/riscv
Message-ID:  <201906091536.x59FapFQ036040@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201906091536.x59FapFQ036040>