Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

s390/entry: remove toolchain dependent micro-optimization

Get rid of CONFIG_AS_IS_LLVM in entry.S to make the code a bit more
readable. This removes a micro-optimization, but given that the llvm IAS
limitation will likely stay, just use the version that works with llvm.

See commit 4c25f0ff6336 ("s390/entry: workaround llvm's IAS limitations")
for further details.

Signed-off-by: Heiko Carstens <hca@linux.ibm.com>

-6
-6
arch/s390/kernel/entry.S
··· 137 137 lgr %r14,\reg 138 138 larl %r13,\start 139 139 slgr %r14,%r13 140 - #ifdef CONFIG_AS_IS_LLVM 141 140 clgfrl %r14,.Lrange_size\@ 142 - #else 143 - clgfi %r14,\end - \start 144 - #endif 145 141 jhe \outside_label 146 - #ifdef CONFIG_AS_IS_LLVM 147 142 .section .rodata, "a" 148 143 .align 4 149 144 .Lrange_size\@: 150 145 .long \end - \start 151 146 .previous 152 - #endif 153 147 .endm 154 148 155 149 .macro SIEEXIT