powerpc: prom_init exception when updating core value
authorLaurent Dufour <ldufour@linux.vnet.ibm.com>
Tue, 17 Sep 2013 09:52:48 +0000 (11:52 +0200)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 11 Oct 2013 05:53:16 +0000 (16:53 +1100)
commitdbd0c5d5296f291a5c3affee4fbdde254632ffca
tree9b622a06c6dcd9150b24b27435ce5fe000b71749
parente48673360b8b113ca83dc3a45e02ad37fdf9f2d0
powerpc: prom_init exception when updating core value

Since the CPU is generating an exception when accessing unaligned word, and
as this exception is not yet handled when running prom_init, data should be
copied from the architecture vector byte per byte.

Signed-off-by: Laurent Dufour <ldufour@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/prom_init.c