aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--i386/i386/mp_desc.h3
-rw-r--r--i386/intel/pmap.c4
2 files changed, 7 insertions, 0 deletions
diff --git a/i386/i386/mp_desc.h b/i386/i386/mp_desc.h
index 9f963123..4a9cbdf6 100644
--- a/i386/i386/mp_desc.h
+++ b/i386/i386/mp_desc.h
@@ -77,6 +77,9 @@ extern struct real_descriptor *mp_gdt[NCPUS];
extern struct mp_desc_table * mp_desc_init(int);
+extern void interrupt_processor(int cpu);
+
+
#endif /* MULTIPROCESSOR */
extern void start_other_cpus(void);
diff --git a/i386/intel/pmap.c b/i386/intel/pmap.c
index c74717ae..69ab9cca 100644
--- a/i386/intel/pmap.c
+++ b/i386/intel/pmap.c
@@ -87,6 +87,10 @@
#include <i386at/biosmem.h>
#include <i386at/model_dep.h>
+#if NCPUS > 1
+#include <i386/mp_desc.h>
+#endif
+
#ifdef MACH_PSEUDO_PHYS
#define WRITE_PTE(pte_p, pte_entry) *(pte_p) = pte_entry?pa_to_ma(pte_entry):0;
#else /* MACH_PSEUDO_PHYS */