forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/arch/alpha/include/asm/topology.h
....@@ -4,6 +4,7 @@
44
55 #include <linux/smp.h>
66 #include <linux/threads.h>
7
+#include <linux/numa.h>
78 #include <asm/machvec.h>
89
910 #ifdef CONFIG_NUMA
....@@ -29,7 +30,7 @@
2930 {
3031 int cpu;
3132
32
- if (node == -1)
33
+ if (node == NUMA_NO_NODE)
3334 return cpu_all_mask;
3435
3536 cpumask_clear(&node_to_cpumask_map[node]);