From c9a794c7cdd28956ed2e8b1a9a1bace61095ee75 Mon Sep 17 00:00:00 2001 From: Jesse Barnes Date: Wed, 13 Aug 2003 01:54:24 -0700 Subject: [PATCH] [PATCH] ia64: is_headless_node fix Fix is_headless_node() macro to use node_to_cpumask(). --- include/asm-ia64/sn/nodepda.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/asm-ia64/sn/nodepda.h b/include/asm-ia64/sn/nodepda.h index e34b5a7d9a29b..857cd37c7dc28 100644 --- a/include/asm-ia64/sn/nodepda.h +++ b/include/asm-ia64/sn/nodepda.h @@ -12,6 +12,7 @@ #include #include #include +#include #include #include #include @@ -127,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) (!test_bit(cnode, &node_has_active_cpus)) +#define is_headless_node(cnode) (!node_to_cpumask(cnode)) /* * Check if given a node vertex handle the corresponding node has all the -- 2.53.0