diff options
| author | 2025-09-25 10:45:18 +0200 | |
|---|---|---|
| committer | 2025-09-29 13:52:08 +0200 | |
| commit | 4335edb7138b45abab65f01d2be77a9be9cfd2fe (patch) | |
| tree | 52831751d3885f3bdf98c8b9013e1d2ff12126d7 /arch/s390/lib/test_unwind.c | |
| parent | s390/cio/ioasm: Fix __xsch() condition code handling (diff) | |
| download | wireguard-linux-4335edb7138b45abab65f01d2be77a9be9cfd2fe.tar.xz wireguard-linux-4335edb7138b45abab65f01d2be77a9be9cfd2fe.zip | |
s390: Remove superfluous newlines from inline assemblies
Remove superfluous newlines from inline assemblies. Compilers use the
number of lines of inline assemblies as heuristic for the complexity
and inline decisions. Therefore inline assemblies should only contain
as many lines as required.
A lot of inline assemblies contain a superfluous newline for the last
line. Remove such newlines to improve compiler inlining decisions.
Suggested-by: Juergen Christ <jchrist@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Reviewed-by: Alexander Gordeev <agordeev@linux.ibm.com>
Reviewed-by: Juergen Christ <jchrist@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Diffstat (limited to 'arch/s390/lib/test_unwind.c')
| -rw-r--r-- | arch/s390/lib/test_unwind.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/s390/lib/test_unwind.c b/arch/s390/lib/test_unwind.c index 6e42100875e7..6bb3fa5bf925 100644 --- a/arch/s390/lib/test_unwind.c +++ b/arch/s390/lib/test_unwind.c @@ -150,7 +150,7 @@ static __always_inline struct pt_regs fake_pt_regs(void) regs.gprs[15] = current_stack_pointer; asm volatile( - "basr %[psw_addr],0\n" + "basr %[psw_addr],0" : [psw_addr] "=d" (regs.psw.addr)); return regs; } @@ -232,7 +232,7 @@ static noinline void test_unwind_kprobed_func(void) asm volatile( " nopr %%r7\n" "test_unwind_kprobed_insn:\n" - " nopr %%r7\n" + " nopr %%r7" :); } |
