]> git.baikalelectronics.ru Git - kernel.git/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)
commit8640474159fbeb4cdf44c668e720393edea5e004
tree0d78f10e2389c65482a634f8c2ce7f93647c9b71
parent71863ed96525942c23c2a41307112cab1db9bc78
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: 71863ed96525 ("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