Move cpus_in_affinity_mask() to cpu-set-util.[ch]

It just seems to fit better there and it's always better to have things
in shared/ rather than basic/.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2019-05-29 10:26:00 +02:00
parent 0985c7c4e2
commit f44b3035d4
6 changed files with 40 additions and 39 deletions
+2
View File
@@ -45,3 +45,5 @@ int parse_cpu_set_extend(
static inline int parse_cpu_set(const char *rvalue, CPUSet *cpu_set){
return parse_cpu_set_full(rvalue, cpu_set, false, NULL, NULL, 0, NULL);
}
int cpus_in_affinity_mask(void);