summaryrefslogtreecommitdiff
path: root/sys/arch/amd64
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2019-09-06 12:13:42 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2019-09-06 12:13:42 +0000
commit7cc0269c59f408ccac1b47fb15af749a306bc71b (patch)
tree5b0192a05466116ea9e9bd0476bf613a69443933 /sys/arch/amd64
parente0e51bce364b14ed2727a7ad406ed2985bbaf44a (diff)
fpuinit() comments should precede cpu_init() call
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;