Skip to content

Commit 9f18fff

Browse files
author
Martin Schwidefsky
committed
s390: remove indirect branch from do_softirq_own_stack
The inline assembly to call __do_softirq on the irq stack uses an indirect branch. This can be replaced with a normal relative branch. Cc: [email protected] # 4.16 Fixes: f19fbd5 ("s390: introduce execute-trampolines for branches") Reviewed-by: Hendrik Brueckner <[email protected]> Signed-off-by: Martin Schwidefsky <[email protected]>
1 parent 4253b0e commit 9f18fff

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

arch/s390/kernel/irq.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -176,10 +176,9 @@ void do_softirq_own_stack(void)
176176
new -= STACK_FRAME_OVERHEAD;
177177
((struct stack_frame *) new)->back_chain = old;
178178
asm volatile(" la 15,0(%0)\n"
179-
" basr 14,%2\n"
179+
" brasl 14,__do_softirq\n"
180180
" la 15,0(%1)\n"
181-
: : "a" (new), "a" (old),
182-
"a" (__do_softirq)
181+
: : "a" (new), "a" (old)
183182
: "0", "1", "2", "3", "4", "5", "14",
184183
"cc", "memory" );
185184
} else {

0 commit comments

Comments
 (0)