]> git.itanic.dy.fi Git - linux-stable/commit
ARM: fix the cockup in the previous patch
authorRussell King <rmk+kernel@armlinux.org.uk>
Fri, 7 Dec 2018 13:11:15 +0000 (13:11 +0000)
committerRussell King <rmk+kernel@armlinux.org.uk>
Fri, 7 Dec 2018 13:13:42 +0000 (13:13 +0000)
commitd6951f582cc50ba0ad22ef46b599740966599b14
tree0d78f10e2389c65482a634f8c2ce7f93647c9b71
parent3a4d0c2172bcf15b7a3d9d498b2b355f9864286b
ARM: fix the cockup in the previous patch

The intention in the previous patch was to only place the processor
tables in the .rodata section if big.Little was being built and we
wanted the branch target hardening, but instead (due to the way it
was tested) it ended up always placing the tables into the .rodata
section.

Although harmless, let's correct this anyway.

Fixes: 3a4d0c2172bc ("ARM: ensure that processor vtables is not lost after boot")
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
arch/arm/mm/proc-macros.S