diff options
author | Richard Braun <rbraun@sceen.net> | 2014-05-05 21:51:31 +0200 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2014-05-05 21:51:31 +0200 |
commit | 6ef4f1e3a6c626e5bc2a49efb65e60d170445fd2 (patch) | |
tree | 93a7d68d679631e9bbba16bff71235f73fc4bb28 /kern/cpumap.h | |
parent | dfa3674f5d71f995ce464570dce75ad1dba0c92a (diff) |
kern/cpumap: add cpumap_all function
Diffstat (limited to 'kern/cpumap.h')
-rw-r--r-- | kern/cpumap.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/kern/cpumap.h b/kern/cpumap.h index 9cbdfa1..0e57c30 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. |