On 09/01/2014 02:15 PM, Christoph Lameter wrote:
On Mon, 1 Sep 2014, Guenter Roeck wrote:

arch/ia64/sn/kernel/setup.c: In function 'sn_cpu_init':
arch/ia64/sn/kernel/setup.c:632:13: error: lvalue required as left operand of 
assignment
make[1]: *** [arch/ia64/sn/kernel/setup.o] Error 1
make: *** [arch/ia64/sn/kernel/setup.o] Error 2


Subject: 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: Christoph Lameter <c...@linux.com>

FWIW: Compile-tested-by: Guenter Roeck <li...@roeck-us.net>

Too bad there is no ia64 support in qemu; this could use some "real" testing.

Guenter

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to