]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
[IA64] wrong attribute of HUB chip written in uv_setup()
authorRoel Kluin <roel.kluin@gmail.com>
Tue, 2 Feb 2010 22:42:01 +0000 (14:42 -0800)
committerTony Luck <tony.luck@intel.com>
Fri, 26 Feb 2010 19:20:41 +0000 (11:20 -0800)
n_val should be assigned to n_val attribute of HUB chip.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/uv/kernel/setup.c

index 7a5ae633198b38ade2cf824619cbaf93cc0e3c33..f1490657bafc2a26fb2c7c5613d1e6f368a1706e 100644 (file)
@@ -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;