diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/asm-ia64/sn/nodepda.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-ia64/sn/nodepda.h b/include/asm-ia64/sn/nodepda.h index a21a48b0190f..b8ecb51db321 100644 --- a/include/asm-ia64/sn/nodepda.h +++ b/include/asm-ia64/sn/nodepda.h @@ -128,7 +128,7 @@ typedef struct irqpda_s irqpda_t; * Check if given a compact node id the corresponding node has all the * cpus disabled. */ -#define is_headless_node(cnode) (!node_to_cpu_mask[cnode]) +#define is_headless_node(cnode) (nr_cpus_node(cnode) == 0) /* * Check if given a node vertex handle the corresponding node has all the |
