|
@@ -769,7 +769,12 @@ void __init uv_system_init(void)
|
|
|
for(i = 0; i < UVH_NODE_PRESENT_TABLE_DEPTH; i++)
|
|
|
uv_possible_blades +=
|
|
|
hweight64(uv_read_local_mmr( UVH_NODE_PRESENT_TABLE + i * 8));
|
|
|
- printk(KERN_DEBUG "UV: Found %d blades\n", uv_num_possible_blades());
|
|
|
+
|
|
|
+ /* uv_num_possible_blades() is really the hub count */
|
|
|
+ printk(KERN_INFO "UV: Found %d blades, %d hubs\n",
|
|
|
+ is_uv1_hub() ? uv_num_possible_blades() :
|
|
|
+ (uv_num_possible_blades() + 1) / 2,
|
|
|
+ uv_num_possible_blades());
|
|
|
|
|
|
bytes = sizeof(struct uv_blade_info) * uv_num_possible_blades();
|
|
|
uv_blade_info = kzalloc(bytes, GFP_KERNEL);
|