]> git.baikalelectronics.ru Git - kernel.git/commit
s390/nospec: prefer local labels in .set directives
authorHeiko Carstens <hca@linux.ibm.com>
Sun, 1 May 2022 18:55:05 +0000 (20:55 +0200)
committerHeiko Carstens <hca@linux.ibm.com>
Fri, 6 May 2022 18:45:13 +0000 (20:45 +0200)
commit1e8f29748d67ab2e0a831df82b36c7b17cb74d82
treeaf876139c7ea970a41ebed8b552c1cdd83debca7
parentdbac2240a7de91c2f36b5d9e308f23ce28061172
s390/nospec: prefer local labels in .set directives

Use local labels in .set directives to avoid potential compile errors
with LTO + clang. See commit f2bf3e9d041e ("x86/extable: Prefer local
labels in .set directives") for further details.

Since s390 doesn't support LTO currently this doesn't fix a real bug
for now, but helps to avoid problems as soon as required pieces have
been added to llvm.

Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/include/asm/nospec-insn.h