summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@home.osdl.org>2003-11-11 15:56:11 -0800
committerLinus Torvalds <torvalds@home.osdl.org>2003-11-11 15:56:11 -0800
commita0118f46e8aea3b5d5a279cababdd6d65f0eaa83 (patch)
treed394d6163301dbe42d90851cf585e88a9457dfea /include
parent99f0cb29f3a2538f23f111b0e373c2619846fd90 (diff)
parent1b9ee80772ec8f950d412b9b979fb2cc3f91bedb (diff)
Merge http://lia64.bkbits.net/to-linus-2.5
into home.osdl.org:/home/torvalds/v2.5/linux
Diffstat (limited to 'include')
-rw-r--r--include/asm-ia64/sn/nodepda.h2
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