]> git.baikalelectronics.ru Git - kernel.git/commit
s390/alternatives: provide identical sized orginal/alternative sequences
authorHeiko Carstens <hca@linux.ibm.com>
Wed, 11 May 2022 12:05:25 +0000 (14:05 +0200)
committerHeiko Carstens <hca@linux.ibm.com>
Tue, 17 May 2022 13:16:28 +0000 (15:16 +0200)
commit0887ee31071d7bf5c7c26fc416046dcadd1b5159
tree1a15fda279e1cad21a742e494437b06ddc93714b
parent73434c6e75faa122e254d0edea46ec578998ce84
s390/alternatives: provide identical sized orginal/alternative sequences

Explicitly provide identical sized original/alternative instruction
sequences. This way there is no need for the s390 specific alternatives
infrastructure to generate padding sequences.
The code which generates such sequences will be removed with a follow on
patch.

Acked-by: Vasily Gorbik <gor@linux.ibm.com>
Tested-by: Nathan Chancellor <nathan@kernel.org>
Tested-by: Nick Desaulniers <ndesaulniers@google.com>
Link: https://lore.kernel.org/r/20220511120532.2228616-2-hca@linux.ibm.com
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/include/asm/spinlock.h
arch/s390/kernel/entry.S
arch/s390/lib/spinlock.c