]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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:09:55 +0000 (10:09 +0100)
commitde3bd3e1327f43b96434cca916b7d0af104d37f7
tree91b2600bea093fb645e0a5719bb1283998d47ca0
parent594b5b09ba0bb4d6b715f43b4b849935a827f27b
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