From e973a7af9080d01d46e4f9d37cef727373932694 Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Fri, 24 Jun 2005 00:38:36 +0000 Subject: [PATCH] Eliminate a source of 'trap xx with interrupts disabled'. I was jumping to the wrong backend code and neglecting to re-enable interrupts after the stack prep. Approved by: re --- sys/amd64/amd64/exception.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/amd64/amd64/exception.S b/sys/amd64/amd64/exception.S index da639dee7893..bff29b5fd2d9 100644 --- a/sys/amd64/amd64/exception.S +++ b/sys/amd64/amd64/exception.S @@ -119,7 +119,7 @@ IDTVEC(xmm) subq $TF_ERR,%rsp; \ movq $(a),TF_TRAPNO(%rsp) ; \ movq $0,TF_ADDR(%rsp) ; \ - jmp alltraps_noen + jmp alltraps IDTVEC(tss) TRAP_ERR(T_TSSFLT) IDTVEC(missing)