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)
committerVineet Gupta <vgupta@synopsys.com>
Thu, 21 Feb 2019 19:03:15 +0000 (11:03 -0800)
commit252f6e8eae909bc075a1b1e3b9efb095ae4c0b56
tree71cd3352389d5a4fe7b95832f6911a8e7450fc46
parentf17b5f06cb92ef2250513a1e154c47b78df07d40
ARCv2: Enable unaligned access in early ASM code

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]
arch/arc/kernel/head.S