diff options
author | jhb <jhb@FreeBSD.org> | 2016-03-24 00:24:07 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2016-03-24 00:24:07 +0000 |
commit | 0566758cff1cdf313f1cee36e7257c510b22459b (patch) | |
tree | dbd16c13b4b89d4f7351b10f590f2a8e856d56ee /sys/i386 | |
parent | 3bbdf0a27a0863a2ae701218932875dbf6200b9a (diff) | |
download | FreeBSD-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/i386')
-rw-r--r-- | sys/i386/i386/autoconf.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/i386/i386/autoconf.c b/sys/i386/i386/autoconf.c index 029ed2e..458b42f 100644 --- a/sys/i386/i386/autoconf.c +++ b/sys/i386/i386/autoconf.c @@ -101,13 +101,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(); |