powerpc/module64: Use symbolic instructions names.
authorChristophe Leroy <christophe.leroy@c-s.fr>
Fri, 3 May 2019 06:40:17 +0000 (06:40 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 5 Jul 2019 14:29:50 +0000 (00:29 +1000)
commita2b6f26c264e510f1d76ce347e34a21fbda9d8b2
tree9fc539b6f4ff344662e2433fce181fe66865da86
parent4eb4516eada3ae469cd9d97c6dbe730ad3cdf2b6
powerpc/module64: Use symbolic instructions names.

To increase readability/maintainability, replace hard coded
instructions values by symbolic names.

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
[mpe: Fix R_PPC64_ENTRY case, the addi reads from r2 not r12]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/module_64.c