summaryrefslogtreecommitdiff
path: root/kern/cpumap.h
diff options
context:
space:
mode:
Diffstat (limited to 'kern/cpumap.h')
-rw-r--r--kern/cpumap.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/kern/cpumap.h b/kern/cpumap.h
index 9cbdfa15..0e57c30d 100644
--- a/kern/cpumap.h
+++ b/kern/cpumap.h
@@ -140,6 +140,11 @@ cpumap_find_first_zero(const struct cpumap *cpumap)
void cpumap_setup(void);
/*
+ * Return a cpumap representing all active processors.
+ */
+const struct cpumap * cpumap_all(void);
+
+/*
* Allocate a CPU map.
*
* The new map is uninitialized.