summaryrefslogtreecommitdiffstats
path: root/sys/amd64
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2016-03-24 00:24:07 +0000
committerjhb <jhb@FreeBSD.org>2016-03-24 00:24:07 +0000
commit0566758cff1cdf313f1cee36e7257c510b22459b (patch)
treedbd16c13b4b89d4f7351b10f590f2a8e856d56ee /sys/amd64
parent3bbdf0a27a0863a2ae701218932875dbf6200b9a (diff)
downloadFreeBSD-src-0566758cff1cdf313f1cee36e7257c510b22459b.zip
FreeBSD-src-0566758cff1cdf313f1cee36e7257c510b22459b.tar.gz
Enable interrupts on the BSP once all PICs are initialized.
This moves the enabling of interrupts slightly earlier (the old location was still before devices were enumerated and probed) and does it in the interrupt code (rather than in the device configuration code). This also avoids tripping over an assertion on the first TLB shootdown with earlier AP startup. Reviewed by: kib Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D5710
Diffstat (limited to 'sys/amd64')
-rw-r--r--sys/amd64/amd64/autoconf.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/amd64/amd64/autoconf.c b/sys/amd64/amd64/autoconf.c
index ee32740..c0819b4 100644
--- a/sys/amd64/amd64/autoconf.c
+++ b/sys/amd64/amd64/autoconf.c
@@ -100,13 +100,6 @@ configure(dummy)
void *dummy;
{
- /*
- * Enable interrupts on the processor. The interrupts are still
- * disabled in the interrupt controllers until interrupt handlers
- * are registered.
- */
- enable_intr();
-
/* initialize new bus architecture */
root_bus_configure();
OpenPOWER on IntegriCloud