Set up the fpu *after* enabling SSE mode on AP's
Submitted by: (argh, I can't find the email)
This commit is contained in:
parent
430e272c7e
commit
18154cd6f8
@ -429,12 +429,12 @@ init_secondary(void)
|
||||
/* set up CPU registers and state */
|
||||
cpu_setregs();
|
||||
|
||||
/* set up FPU state on the AP */
|
||||
fpuinit();
|
||||
|
||||
/* set up SSE/NX registers */
|
||||
initializecpu();
|
||||
|
||||
/* set up FPU state on the AP */
|
||||
fpuinit();
|
||||
|
||||
/* A quick check from sanity claus */
|
||||
if (PCPU_GET(apic_id) != lapic_id()) {
|
||||
printf("SMP: cpuid = %d\n", PCPU_GET(cpuid));
|
||||
|
Loading…
Reference in New Issue
Block a user