Skip to content

Commit d20be43

Browse files
antonblanchardmpe
authored andcommitted
powerpc: Non relocatable system call doesn't need a trampoline
We need to use a trampoline when using LOAD_HANDLER(), because the destination needs to be in the first 64kB. An absolute branch has no such limitations, so just jump there. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
1 parent 05b05f2 commit d20be43

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎arch/powerpc/kernel/exceptions-64s.S‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ END_FTR_SECTION_IFSET(CPU_FTR_REAL_LE) \
7979
mfspr r12,SPRN_SRR1 ; \
8080
li r10,MSR_RI ; \
8181
mtmsrd r10,1 ; /* Set RI (EE=0) */ \
82-
b system_call_entry ;
82+
b system_call_common ;
8383
#endif
8484

8585
/*

0 commit comments

Comments
 (0)