Skip to content

Commit 337685e

Browse files
committed
parisc: Use long branch to do_syscall_trace_exit
Use the 22bit instead of the 17bit branch instruction on a 64bit kernel to reach the do_syscall_trace_exit function from the gateway page. A huge page enabled kernel may need the additional branch distance bits. Signed-off-by: Helge Deller <[email protected]>
1 parent 332b42e commit 337685e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arch/parisc/kernel/syscall.S

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ tracesys_exit:
369369
ldo -16(%r30),%r29 /* Reference param save area */
370370
#endif
371371
ldo TASK_REGS(%r1),%r26
372-
bl do_syscall_trace_exit,%r2
372+
BL do_syscall_trace_exit,%r2
373373
STREG %r28,TASK_PT_GR28(%r1) /* save return value now */
374374
ldo -THREAD_SZ_ALGN-FRAME_SIZE(%r30),%r1 /* get task ptr */
375375
LDREG TI_TASK(%r1), %r1
@@ -390,7 +390,7 @@ tracesys_sigexit:
390390
#ifdef CONFIG_64BIT
391391
ldo -16(%r30),%r29 /* Reference param save area */
392392
#endif
393-
bl do_syscall_trace_exit,%r2
393+
BL do_syscall_trace_exit,%r2
394394
ldo TASK_REGS(%r1),%r26
395395

396396
ldil L%syscall_exit_rfi,%r1

0 commit comments

Comments
 (0)