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)
commitfad442d3abde47aef97d0d822807ab6e2555784a
tree1a15fda279e1cad21a742e494437b06ddc93714b
parentc9311de71635d3eaa158df8516b9b99a92d60a0c
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