]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - include/linux/cpumask.h
mm: fix fault vs invalidate race for linear mappings
[karo-tx-linux.git] / include / linux / cpumask.h
index d0e8c8b0e34dee03a78823c81d2c7536ce88e2cc..23f55140ccd570fd45c321b8275ce04edc451288 100644 (file)
@@ -398,11 +398,11 @@ extern cpumask_t cpu_present_map;
 #endif
 
 #ifdef CONFIG_SMP
-int highest_possible_processor_id(void);
+extern int nr_cpu_ids;
 #define any_online_cpu(mask) __any_online_cpu(&(mask))
 int __any_online_cpu(const cpumask_t *mask);
 #else
-#define highest_possible_processor_id()        0
+#define nr_cpu_ids                     1
 #define any_online_cpu(mask)           0
 #endif