From fc261c16bd6043845a035d63c71c0b2bf9a8b9de Mon Sep 17 00:00:00 2001 From: Mitchell Horne Date: Sun, 9 Jun 2019 15:36:51 +0000 Subject: [PATCH] Remove block of dead code Approved by: markj (mentor) --- sys/riscv/riscv/exception.S | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/sys/riscv/riscv/exception.S b/sys/riscv/riscv/exception.S index 399ae098f23a..d486938bcd07 100644 --- a/sys/riscv/riscv/exception.S +++ b/sys/riscv/riscv/exception.S @@ -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