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)
commite8732ffa2e096d433c3f2349b871d43ed0d39f5c
treee63d1c2944344153ea7195bc02c3be1368355c17
parentb7f8b440f3001cc1775c028f0a783786113c2ae3
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: 1a4b739bbb4f ("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