Commit ff89bf3b authored by Dean Nelson's avatar Dean Nelson Committed by Tony Luck

[IA64] fix setting of sn_hub_info->shub_1_1_found

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: default avatarDean Nelson <dcn@sgi.com>
Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
parent 0fd56f67
...@@ -222,7 +222,7 @@ void __init early_sn_setup(void) ...@@ -222,7 +222,7 @@ void __init early_sn_setup(void)
extern int platform_intr_list[]; extern int platform_intr_list[];
extern nasid_t master_nasid; extern nasid_t master_nasid;
static int shub_1_1_found __initdata; static int __initdata shub_1_1_found = 0;
/* /*
* sn_check_for_wars * sn_check_for_wars
...@@ -251,7 +251,7 @@ static void __init sn_check_for_wars(void) ...@@ -251,7 +251,7 @@ static void __init sn_check_for_wars(void)
} else { } else {
for_each_online_node(cnode) { for_each_online_node(cnode) {
if (is_shub_1_1(cnodeid_to_nasid(cnode))) if (is_shub_1_1(cnodeid_to_nasid(cnode)))
sn_hub_info->shub_1_1_found = 1; shub_1_1_found = 1;
} }
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment