summaryrefslogtreecommitdiffstats
path: root/sys/amd64
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2005-06-24 00:38:36 +0000
committerpeter <peter@FreeBSD.org>2005-06-24 00:38:36 +0000
commitcd693d699ce31a3abce1139dc1e025e537da0a9f (patch)
treef3d60423dd15b903827f87cd0d1c4c9d4546c853 /sys/amd64
parent9729a26e81c1a384d1975dcbb2e135c67f59640b (diff)
downloadFreeBSD-src-cd693d699ce31a3abce1139dc1e025e537da0a9f.zip
FreeBSD-src-cd693d699ce31a3abce1139dc1e025e537da0a9f.tar.gz
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
Diffstat (limited to 'sys/amd64')
-rw-r--r--sys/amd64/amd64/exception.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/amd64/amd64/exception.S b/sys/amd64/amd64/exception.S
index da639de..bff29b5 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)
OpenPOWER on IntegriCloud