]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/ia64/sn/kernel/io_init.c
[IA64] Cleanup use of various #defines related to nodes
[linux-2.6-omap-h63xx.git] / arch / ia64 / sn / kernel / io_init.c
index 906622d9f933374931b07a570c91fa17f7bcd41d..b4f5053f5e1be852a05d8c64ab845ca5719c91e2 100644 (file)
@@ -22,8 +22,6 @@
 #include "xtalk/hubdev.h"
 #include "xtalk/xwidgetdev.h"
 
-nasid_t master_nasid = INVALID_NASID;  /* Partition Master */
-
 static struct list_head sn_sysdata_list;
 
 /* sysdata list struct */
@@ -165,7 +163,7 @@ static void sn_fixup_ionodes(void)
         * Get SGI Specific HUB chipset information.
         * Inform Prom that this kernel can support domain bus numbering.
         */
-       for (i = 0; i < numionodes; i++) {
+       for (i = 0; i < num_cnodes; i++) {
                hubdev = (struct hubdev_info *)(NODEPDA(i)->pdinfo);
                nasid = cnodeid_to_nasid(i);
                hubdev->max_segment_number = 0xffffffff;