[PATCH] fix setting of sn_hub_info->shub_1_1_found

From: Dean Nelson <dcn_at_sgi.com>
Date: 2005-06-03 22:25:28
Fix a bug in which shub_1_1_found is not being properly initialized or set,
resulting in the improper setting of sn_hub_info->shub_1_1_found.

Signed-off-by: Dean Nelson <dcn@sgi.com>


Index: test-2.6.git/arch/ia64/sn/kernel/setup.c
===================================================================
--- test-2.6.git.orig/arch/ia64/sn/kernel/setup.c	2005-06-03 06:46:36.157095014 -0500
+++ test-2.6.git/arch/ia64/sn/kernel/setup.c	2005-06-03 06:50:07.272080003 -0500
@@ -216,7 +216,7 @@
 
 extern int platform_intr_list[];
 extern nasid_t master_nasid;
-static int shub_1_1_found __initdata;
+static int __initdata shub_1_1_found = 0;
 
 /*
  * sn_check_for_wars
@@ -245,7 +245,7 @@
 	} else {
 		for_each_online_node(cnode) {
 			if (is_shub_1_1(cnodeid_to_nasid(cnode)))
-				sn_hub_info->shub_1_1_found = 1;
+				shub_1_1_found = 1;
 		}
 	}
 }
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Fri Jun 3 08:25:49 2005

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:39 EST