Skip to content

Commit adf1e17

Browse files
committed
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 4c25f0f ("s390/entry: workaround llvm's IAS limitations") for further details. Signed-off-by: Heiko Carstens <[email protected]>
1 parent af07352 commit adf1e17

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

arch/s390/kernel/entry.S

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -137,19 +137,13 @@ _LPP_OFFSET = __LC_LPP
137137
lgr %r14,\reg
138138
larl %r13,\start
139139
slgr %r14,%r13
140-
#ifdef CONFIG_AS_IS_LLVM
141140
clgfrl %r14,.Lrange_size\@
142-
#else
143-
clgfi %r14,\end - \start
144-
#endif
145141
jhe \outside_label
146-
#ifdef CONFIG_AS_IS_LLVM
147142
.section .rodata, "a"
148143
.align 4
149144
.Lrange_size\@:
150145
.long \end - \start
151146
.previous
152-
#endif
153147
.endm
154148

155149
.macro SIEEXIT

0 commit comments

Comments
 (0)