]> 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)
commit4bdb8ca80d534b79739fe966c67be0944f5411c3
tree1a15fda279e1cad21a742e494437b06ddc93714b
parent47679361cedc3b785d06bb19551c7e5f9fc60a52
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