提交 f318f7db 编写于 作者: C Christoph Lameter 提交者: Tejun Heo

ia64: sn_nodepda cannot be assigned to after this_cpu conversion. Use __this_cpu_write.

There must be an explit statement to modify the percpu variable after
the conversion of the sn_nodpda macro to use this_cpu_read.
Signed-off-by: NChristoph Lameter <cl@linux.com>
Signed-off-by: NTejun Heo <tj@kernel.org>
Compile-tested-by: NGuenter Roeck <linux@roeck-us.net>
上级 4ba29684
...@@ -629,7 +629,7 @@ void sn_cpu_init(void) ...@@ -629,7 +629,7 @@ void sn_cpu_init(void)
cnode = nasid_to_cnodeid(nasid); cnode = nasid_to_cnodeid(nasid);
sn_nodepda = nodepdaindr[cnode]; __this_cpu_write(__sn_nodepda, nodepdaindr[cnode]);
pda->led_address = pda->led_address =
(typeof(pda->led_address)) (LED0 + (slice << LED_CPU_SHIFT)); (typeof(pda->led_address)) (LED0 + (slice << LED_CPU_SHIFT));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册