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
- Lines: 19
- Date:
2003-11-28 10:26:21.000000000 -0800
- Orig file:
linux-2.4.22/include/asm-ia64/sn/nodepda.h
- Orig date:
2003-08-25 04:44:43.000000000 -0700
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)