diff options
-rw-r--r-- | i386/i386/mp_desc.c | 1 | ||||
-rw-r--r-- | i386/i386at/model_dep.c | 1 | ||||
-rw-r--r-- | i386/intel/pmap.c | 2 |
3 files changed, 2 insertions, 2 deletions
diff --git a/i386/i386/mp_desc.c b/i386/i386/mp_desc.c index 5fff2a68..8455f8ef 100644 --- a/i386/i386/mp_desc.c +++ b/i386/i386/mp_desc.c @@ -234,6 +234,7 @@ void cpu_setup(int cpu) { pmap_make_temporary_mapping(); + pmap_set_page_dir(); printf("AP=(%u) tempmap done\n", cpu); paging_enable(); diff --git a/i386/i386at/model_dep.c b/i386/i386at/model_dep.c index 01489353..30449c37 100644 --- a/i386/i386at/model_dep.c +++ b/i386/i386at/model_dep.c @@ -455,6 +455,7 @@ i386at_init(void) biosmem_setup(); pmap_make_temporary_mapping(); + pmap_set_page_dir(); #ifndef MACH_HYP /* Turn paging on. diff --git a/i386/intel/pmap.c b/i386/intel/pmap.c index da7dfc37..b496353c 100644 --- a/i386/intel/pmap.c +++ b/i386/intel/pmap.c @@ -3289,8 +3289,6 @@ pmap_make_temporary_mapping(void) #endif #endif /* PAE */ #endif /* MACH_PV_PAGETABLES */ - - pmap_set_page_dir(); } void |