diff options
Diffstat (limited to 'arch/alpha/include/asm/topology.h')
| -rw-r--r-- | arch/alpha/include/asm/topology.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/alpha/include/asm/topology.h b/arch/alpha/include/asm/topology.h index e6e13a85796a..5a77a40567fa 100644 --- a/arch/alpha/include/asm/topology.h +++ b/arch/alpha/include/asm/topology.h | |||
| @@ -4,6 +4,7 @@ | |||
| 4 | 4 | ||
| 5 | #include <linux/smp.h> | 5 | #include <linux/smp.h> |
| 6 | #include <linux/threads.h> | 6 | #include <linux/threads.h> |
| 7 | #include <linux/numa.h> | ||
| 7 | #include <asm/machvec.h> | 8 | #include <asm/machvec.h> |
| 8 | 9 | ||
| 9 | #ifdef CONFIG_NUMA | 10 | #ifdef CONFIG_NUMA |
| @@ -29,7 +30,7 @@ static const struct cpumask *cpumask_of_node(int node) | |||
| 29 | { | 30 | { |
| 30 | int cpu; | 31 | int cpu; |
| 31 | 32 | ||
| 32 | if (node == -1) | 33 | if (node == NUMA_NO_NODE) |
| 33 | return cpu_all_mask; | 34 | return cpu_all_mask; |
| 34 | 35 | ||
| 35 | cpumask_clear(&node_to_cpumask_map[node]); | 36 | cpumask_clear(&node_to_cpumask_map[node]); |
