Skip to contentSkip to conversation

IA64: Wrong attribute of HUB chip written in uv_setup() ?

PATCH New Roel Kluin 1 participant 1 message Jan 14, 2010

lore
Share & tools
lore

Roel Kluin

author
#0 lore raw

PATCH 1/1 IA64: Wrong attribute of HUB chip written in uv_setup() ?

n_val should be assigned to n_val attribute of HUB chip.

---
Is this right? please review.

arch/ia64/uv/kernel/setup.c +1 -1
index 7a5ae63..f149065 100644
@@ -104,7 +104,7 @@ void __init uv_setup(char **cmdline_p)
 		uv_cpu_hub_info(cpu)->lowmem_remap_top =
 			lowmem_redir_base + lowmem_redir_size;
 		uv_cpu_hub_info(cpu)->m_val = m_val;
-		uv_cpu_hub_info(cpu)->n_val = m_val;
+		uv_cpu_hub_info(cpu)->n_val = n_val;
 		uv_cpu_hub_info(cpu)->pnode_mask = (1 << n_val) -1;
 		uv_cpu_hub_info(cpu)->gpa_mask = (1 << (m_val + n_val)) - 1;
 		uv_cpu_hub_info(cpu)->gnode_upper = gnode_upper;