KVM: arm64: Move __smccc_workaround_1_smc to .rodata

This snippet of assembly is used by cpu_errata.c to overwrite parts of KVM hyp
vector. Move it to its own source file and change its ELF section to .rodata.

Signed-off-by: David Brazdil <dbrazdil@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20200625131420.71444-3-dbrazdil@google.com
This commit is contained in:
David Brazdil 2020-06-25 14:14:07 +01:00 • committed by Marc Zyngier
commit 7b2399ea56
3 changed files with 33 additions and 16 deletions