aboutsummaryrefslogtreecommitdiff
path: root/i386/intel
diff options
context:
space:
mode:
Diffstat (limited to 'i386/intel')
-rw-r--r--i386/intel/pmap.c5
-rw-r--r--i386/intel/pmap.h6
2 files changed, 8 insertions, 3 deletions
diff --git a/i386/intel/pmap.c b/i386/intel/pmap.c
index 0f650f2a..34b1153c 100644
--- a/i386/intel/pmap.c
+++ b/i386/intel/pmap.c
@@ -381,6 +381,11 @@ typedef struct pmap_update_list *pmap_update_list_t;
struct pmap_update_list cpu_update_list[NCPUS];
+cpu_set cpus_active;
+cpu_set cpus_idle;
+volatile
+boolean_t cpu_update_needed[NCPUS];
+
#endif /* NCPUS > 1 */
/*
diff --git a/i386/intel/pmap.h b/i386/intel/pmap.h
index d6224d87..d2b533c8 100644
--- a/i386/intel/pmap.h
+++ b/i386/intel/pmap.h
@@ -247,18 +247,18 @@ extern void pmap_put_mapwindow(pmap_mapwindow_t *map);
* Update operations must still be queued to cpus not in this
* list.
*/
-cpu_set cpus_active;
+extern cpu_set cpus_active;
/*
* List of cpus that are idle, but still operating, and will want
* to see any kernel pmap updates when they become active.
*/
-cpu_set cpus_idle;
+extern cpu_set cpus_idle;
/*
* Quick test for pmap update requests.
*/
-volatile
+extern volatile
boolean_t cpu_update_needed[NCPUS];
/*