patch-2.4.23 linux-2.4.23/include/asm-ia64/sn/nodepda.h

Next file: linux-2.4.23/include/asm-ia64/sn/pci/bridge.h
Previous file: linux-2.4.23/include/asm-ia64/sn/module.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.22/include/asm-ia64/sn/nodepda.h linux-2.4.23/include/asm-ia64/sn/nodepda.h
@@ -65,6 +65,8 @@
 	nodepda_router_info_t	**npda_rip_last;
 
 
+	spinlock_t		bist_lock;
+
 	/*
 	 * The BTEs on this node are shared by the local cpus
 	 */
@@ -127,8 +129,7 @@
  * Check if given a compact node id the corresponding node has all the
  * cpus disabled. 
  */
-#define is_headless_node(cnode)		((cnode == CNODEID_NONE) ||			\
-					 (node_data(cnode)->active_cpu_count == 0))
+#define is_headless_node(cnode)	(!test_bit(cnode, &node_has_active_cpus))
 
 /*
  * Check if given a node vertex handle the corresponding node has all the

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)