diff options
Diffstat (limited to 'i386/i386at/model_dep.c')
-rw-r--r-- | i386/i386at/model_dep.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/i386/i386at/model_dep.c b/i386/i386at/model_dep.c index 346f2b9c..e9b2eb3b 100644 --- a/i386/i386at/model_dep.c +++ b/i386/i386at/model_dep.c @@ -58,6 +58,7 @@ #include <i386/ktss.h> #include <i386/ldt.h> #include <i386/machspl.h> +#include <i386/mp_desc.h> #include <i386/pic.h> #include <i386/pit.h> #include <i386/pmap.h> @@ -501,6 +502,10 @@ i386at_init(void) ldt_init(); ktss_init(); +#if NCPUS > 1 + mp_desc_init(0); +#endif // NCPUS + #if INIT_VM_MIN_KERNEL_ADDRESS != LINEAR_MIN_KERNEL_ADDRESS /* Get rid of the temporary direct mapping and flush it out of the TLB. */ for (i = 0 ; i < nb_direct; i++) { |