]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/smp: Use code patching to restore reset vector
authorChristophe Leroy <christophe.leroy@c-s.fr>
Fri, 9 Nov 2018 17:33:32 +0000 (17:33 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 19 Dec 2018 07:56:32 +0000 (18:56 +1100)
commit66365867f943dcf687c3c56d24a37fd0240492ad
tree8e838d8c8d9d0352b8ef191dccd8b6801e65e230
parent8212a02513ecc233f002921ac73508fad36a8566
powerpc/smp: Use code patching to restore reset vector

Instead of hardcoding reset vector restore, use patch_instruction()

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/86xx/mpc86xx_smp.c
arch/powerpc/platforms/powermac/smp.c