]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ARM: fix the cockup in the previous patch
authorRussell King <rmk+kernel@armlinux.org.uk>
Thu, 14 Feb 2019 14:49:30 +0000 (09:49 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Feb 2019 09:18:28 +0000 (10:18 +0100)
commitb788fedf38f5ac282e0b6761e034d1e43dda1665
tree44578e1d7797348d5feaa92f2b6a00e1ecf223cc
parent2307923f865c500b3b05ff131f00a9388bd442dd
ARM: fix the cockup in the previous patch

Commit d6951f582cc50ba0ad22ef46b599740966599b14 upstream.

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>
Signed-off-by: David A. Long <dave.long@linaro.org>
Reviewed-by: Julien Thierry <julien.thierry@arm.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm/mm/proc-macros.S