]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: entry: Avoid empty alternatives entries
authorJulien Thierry <jthierry@redhat.com>
Thu, 9 Jan 2020 16:02:59 +0000 (16:02 +0000)
committerWill Deacon <will@kernel.org>
Tue, 21 Jan 2020 09:55:18 +0000 (09:55 +0000)
commit860901bd75dfb02571f7a74a69b36a452c763f28
tree11711c1c5bcff82c8ca5326250acd6b833519d33
parent7b2bb92843eca39bcb38e4023f4736840e54716c
arm64: entry: Avoid empty alternatives entries

kernel_ventry will create alternative entries to potentially replace
0 instructions with 0 instructions for EL1 vectors. While this does not
cause an issue, it pointlessly takes up some bytes in the alternatives
section.

Do not generate such entries.

Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Julien Thierry <jthierry@redhat.com>
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/kernel/entry.S