ARCv2: Enable unaligned access in early ASM code
authorEugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Wed, 16 Jan 2019 11:29:50 +0000 (14:29 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 27 Feb 2019 09:07:01 +0000 (10:07 +0100)
commit812224d6b1fddb567fcbd480f9e35d94d7dad321
tree0972e4ad5097d2efce24dda1b9f04d7a2fb30b11
parente9f06133d7ddd4788371ec5613f9c577bba8c103
ARCv2: Enable unaligned access in early ASM code

commit 252f6e8eae909bc075a1b1e3b9efb095ae4c0b56 upstream.

It is currently done in arc_init_IRQ() which might be too late
considering gcc 7.3.1 onwards (GNU 2018.03) generates unaligned
memory accesses by default

Cc: stable@vger.kernel.org #4.4+
Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
[vgupta: rewrote changelog]
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arc/kernel/head.S