summaryrefslogtreecommitdiffstats
path: root/sys/amd64
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2001-03-05 04:37:54 +0000
committerjhb <jhb@FreeBSD.org>2001-03-05 04:37:54 +0000
commit5a80b78ae6c8f365db55d6714de92218de943325 (patch)
treecf154c4cbd2124e500b9b2c88025d4f54ec7c333 /sys/amd64
parenta0cea41d1535e2f02eaa1c47ac389f8d3d91d145 (diff)
downloadFreeBSD-src-5a80b78ae6c8f365db55d6714de92218de943325.zip
FreeBSD-src-5a80b78ae6c8f365db55d6714de92218de943325.tar.gz
Don't enable interrupts before calling sched_ithd for threaded interrupts.
Tested by: obrien
Diffstat (limited to 'sys/amd64')
-rw-r--r--sys/amd64/amd64/apic_vector.S1
-rw-r--r--sys/amd64/isa/atpic_vector.S1
-rw-r--r--sys/amd64/isa/icu_vector.S1
-rw-r--r--sys/amd64/isa/icu_vector.s1
4 files changed, 0 insertions, 4 deletions
diff --git a/sys/amd64/amd64/apic_vector.S b/sys/amd64/amd64/apic_vector.S
index 007d52f..5b90d01 100644
--- a/sys/amd64/amd64/apic_vector.S
+++ b/sys/amd64/amd64/apic_vector.S
@@ -159,7 +159,6 @@ IDTVEC(vec_name) ; \
__CONCAT(Xresume,irq_num): ; \
FAKE_MCOUNT(13*4(%esp)) ; /* XXX avoid dbl cnt */ \
pushl $irq_num; /* pass the IRQ */ \
- sti ; \
call sched_ithd ; \
addl $4, %esp ; /* discard the parameter */ \
; \
diff --git a/sys/amd64/isa/atpic_vector.S b/sys/amd64/isa/atpic_vector.S
index ca0ebc0..6b48737 100644
--- a/sys/amd64/isa/atpic_vector.S
+++ b/sys/amd64/isa/atpic_vector.S
@@ -109,7 +109,6 @@ IDTVEC(vec_name) ; \
__CONCAT(Xresume,irq_num): ; \
FAKE_MCOUNT(13*4(%esp)) ; /* XXX late to avoid double count */ \
pushl $irq_num; /* pass the IRQ */ \
- sti ; \
call sched_ithd ; \
addl $4, %esp ; /* discard the parameter */ \
decl P_INTR_NESTING_LEVEL(%ebx) ; \
diff --git a/sys/amd64/isa/icu_vector.S b/sys/amd64/isa/icu_vector.S
index ca0ebc0..6b48737 100644
--- a/sys/amd64/isa/icu_vector.S
+++ b/sys/amd64/isa/icu_vector.S
@@ -109,7 +109,6 @@ IDTVEC(vec_name) ; \
__CONCAT(Xresume,irq_num): ; \
FAKE_MCOUNT(13*4(%esp)) ; /* XXX late to avoid double count */ \
pushl $irq_num; /* pass the IRQ */ \
- sti ; \
call sched_ithd ; \
addl $4, %esp ; /* discard the parameter */ \
decl P_INTR_NESTING_LEVEL(%ebx) ; \
diff --git a/sys/amd64/isa/icu_vector.s b/sys/amd64/isa/icu_vector.s
index ca0ebc0..6b48737 100644
--- a/sys/amd64/isa/icu_vector.s
+++ b/sys/amd64/isa/icu_vector.s
@@ -109,7 +109,6 @@ IDTVEC(vec_name) ; \
__CONCAT(Xresume,irq_num): ; \
FAKE_MCOUNT(13*4(%esp)) ; /* XXX late to avoid double count */ \
pushl $irq_num; /* pass the IRQ */ \
- sti ; \
call sched_ithd ; \
addl $4, %esp ; /* discard the parameter */ \
decl P_INTR_NESTING_LEVEL(%ebx) ; \
OpenPOWER on IntegriCloud