]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/booke: fix fast syscall entry on SMP
authorChristophe Leroy <christophe.leroy@c-s.fr>
Thu, 13 Jun 2019 13:52:30 +0000 (13:52 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Sat, 15 Jun 2019 13:44:41 +0000 (23:44 +1000)
commit7ab81986dcf619aff9c4d21114245c12a9b7d7cc
treee63d1c2944344153ea7195bc02c3be1368355c17
parentcb480ec5bdbed72769739c5c42255a81b12c7409
powerpc/booke: fix fast syscall entry on SMP

Use r10 instead of r9 to calculate CPU offset as r9 contains
the value from SRR1 which is used later.

Fixes: 71cdaf71c543 ("powerpc/32: implement fast entry for syscalls on BOOKE")
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/head_booke.h