From 7829b9a6fd0d37e2e8d1d3e0583bb9a38475f796 Mon Sep 17 00:00:00 2001 From: kato Date: Wed, 2 May 2001 13:48:39 +0000 Subject: Merged the rest of changes in sys/i386/i386/machdep.c revision 1.447. --- sys/pc98/i386/machdep.c | 11 +++++------ sys/pc98/pc98/machdep.c | 11 +++++------ 2 files changed, 10 insertions(+), 12 deletions(-) (limited to 'sys/pc98') diff --git a/sys/pc98/i386/machdep.c b/sys/pc98/i386/machdep.c index e4395d7..39631c0 100644 --- a/sys/pc98/i386/machdep.c +++ b/sys/pc98/i386/machdep.c @@ -66,6 +66,7 @@ #include #include #include +#include #include #include #include @@ -104,9 +105,6 @@ #include #include #include -#ifdef SMP -#include -#endif #ifdef PERFMON #include #endif @@ -454,9 +452,10 @@ again: #ifdef SMP globaldata_register(GLOBALDATA); -#endif - +#else + /* For SMP, we delay the cpu_setregs() until after SMP startup. */ cpu_setregs(); +#endif } /* @@ -1924,7 +1923,7 @@ physmap_done: physmap[1] = mp_bootaddress(physmap[1] / 1024); /* look for the MP hardware - needed for apic addresses */ - mp_probe(); + i386_mp_probe(); #endif /* diff --git a/sys/pc98/pc98/machdep.c b/sys/pc98/pc98/machdep.c index e4395d7..39631c0 100644 --- a/sys/pc98/pc98/machdep.c +++ b/sys/pc98/pc98/machdep.c @@ -66,6 +66,7 @@ #include #include #include +#include #include #include #include @@ -104,9 +105,6 @@ #include #include #include -#ifdef SMP -#include -#endif #ifdef PERFMON #include #endif @@ -454,9 +452,10 @@ again: #ifdef SMP globaldata_register(GLOBALDATA); -#endif - +#else + /* For SMP, we delay the cpu_setregs() until after SMP startup. */ cpu_setregs(); +#endif } /* @@ -1924,7 +1923,7 @@ physmap_done: physmap[1] = mp_bootaddress(physmap[1] / 1024); /* look for the MP hardware - needed for apic addresses */ - mp_probe(); + i386_mp_probe(); #endif /* -- cgit v1.1