Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f318f7db authored by Christoph Lameter's avatar Christoph Lameter Committed by Tejun Heo
Browse files

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: default avatarChristoph Lameter <cl@linux.com>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
Compile-tested-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent 4ba29684
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -629,7 +629,7 @@ void sn_cpu_init(void)

	cnode = nasid_to_cnodeid(nasid);

	sn_nodepda = nodepdaindr[cnode];
	__this_cpu_write(__sn_nodepda, nodepdaindr[cnode]);

	pda->led_address =
	    (typeof(pda->led_address)) (LED0 + (slice << LED_CPU_SHIFT));