Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Anton Blanchard and committed by
Michael Ellerman
d20be433 05b05f28

+1 -1
+1 -1
arch/powerpc/kernel/exceptions-64s.S
··· 79 79 mfspr r12,SPRN_SRR1 ; \ 80 80 li r10,MSR_RI ; \ 81 81 mtmsrd r10,1 ; /* Set RI (EE=0) */ \ 82 - b system_call_entry ; 82 + b system_call_common ; 83 83 #endif 84 84 85 85 /*