aboutsummaryrefslogtreecommitdiff
path: root/sys/amd64/include/mptable.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/amd64/include/mptable.h')
-rw-r--r--sys/amd64/include/mptable.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/amd64/include/mptable.h b/sys/amd64/include/mptable.h
index 0a0de69d44cd..d5af7b3cd1c0 100644
--- a/sys/amd64/include/mptable.h
+++ b/sys/amd64/include/mptable.h
@@ -2221,6 +2221,8 @@ invltlb(void)
* This is called once the rest of the system is up and running and we're
* ready to let the AP's out of the pen.
*/
+extern void enable_sse(void);
+
void
ap_init(void)
{
@@ -2260,6 +2262,9 @@ ap_init(void)
/* set up FPU state on the AP */
npxinit(__INITIAL_NPXCW__);
+ /* set up SSE registers */
+ enable_sse();
+
/* A quick check from sanity claus */
apic_id = (apic_id_to_logical[(lapic.id & 0x0f000000) >> 24]);
if (PCPU_GET(cpuid) != apic_id) {