diff options
author | Heiko Carstens <hca@linux.ibm.com> | 2022-05-03 14:59:16 +0200 |
---|---|---|
committer | Heiko Carstens <hca@linux.ibm.com> | 2022-05-06 20:45:15 +0200 |
commit | 29b06ad7e8a69ad1cbfe7898aef1d9cb7fbd02a5 (patch) | |
tree | 32a7ae66cb112ecb82d064ce6d65e7db712be3e9 /arch/s390/kernel/compat_linux.h | |
parent | f84d88ed3beb7fc2b4549e4c213ad428c0be9029 (diff) |
s390/entry: remove broken and not needed code
LLVM's integrated assembler reports the following error when compiling
entry.S:
<instantiation>:38:5: error: unknown token in expression
tm %r8,0x0001 # coming from user space?
The correct instruction would have been tmhh instead of tm.
The current code is doing nothing, since (with gas) it get's
translated to a tm instruction which reads from real address 8, which
again contains always zero, and therefore the conditional code is
never executed.
Note that due to the missing displacement gas translates "%r8" into
"8(%r0)".
Also code inspection reveals that this conditional code is not needed.
Therefore remove it.
Reviewed-by: Sven Schnelle <svens@linux.ibm.com>
Reviewed-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'arch/s390/kernel/compat_linux.h')
0 files changed, 0 insertions, 0 deletions