summaryrefslogtreecommitdiff
path: root/sys/arch/amd64
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/amd64')
-rw-r--r--sys/arch/amd64/amd64/cpu.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/amd64/amd64/cpu.c b/sys/arch/amd64/amd64/cpu.c
index c25f96ab1d2..024958c63b2 100644
--- a/sys/arch/amd64/amd64/cpu.c
+++ b/sys/arch/amd64/amd64/cpu.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpu.c,v 1.140 2019/08/27 22:39:51 deraadt Exp $ */
+/* $OpenBSD: cpu.c,v 1.141 2019/09/06 12:13:41 deraadt Exp $ */
/* $NetBSD: cpu.c,v 1.1 2003/04/26 18:39:26 fvdl Exp $ */
/*-
@@ -636,8 +636,8 @@ cpu_attach(struct device *parent, struct device *self, void *aux)
#ifdef MTRR
mem_range_attach();
#endif /* MTRR */
- cpu_init(ci);
/* XXX SP fpuinit(ci) is done earlier */
+ cpu_init(ci);
cpu_init_mwait(sc);
break;
@@ -657,8 +657,8 @@ cpu_attach(struct device *parent, struct device *self, void *aux)
lapic_enable();
lapic_calibrate_timer(ci);
#endif
- cpu_init(ci);
/* XXX BP fpuinit(ci) is done earlier */
+ cpu_init(ci);
#if NIOAPIC > 0
ioapic_bsp_id = caa->cpu_apicid;