s390: introduce nospec_uses_trampoline()
authorSven Schnelle <svens@linux.ibm.com>
Mon, 4 Oct 2021 06:51:06 +0000 (08:51 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Tue, 26 Oct 2021 13:21:29 +0000 (15:21 +0200)
commit5d17d4ed7e892be3670de7189c76009e12397fe7
tree34c6aa60e17608b03db1476c78465f62342304b1
parent26c21aa485841fecb8514a8261f759d34576eb6a
s390: introduce nospec_uses_trampoline()

and replace all of the "__is_defined(CC_USING_EXPOLINE) && !nospec_disable"
occurrences.

Signed-off-by: Sven Schnelle <svens@linux.ibm.com>
Reviewed-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/include/asm/nospec-branch.h
arch/s390/kernel/nospec-branch.c
arch/s390/kernel/nospec-sysfs.c
arch/s390/net/bpf_jit_comp.c