]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: simplify patch_instruction_site() and patch_branch_site()
authorChristophe Leroy <christophe.leroy@c-s.fr>
Fri, 9 Nov 2018 17:33:15 +0000 (17:33 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 19 Dec 2018 07:56:32 +0000 (18:56 +1100)
commit0a07b2f25fa29bdc1d5a923df5009a379495d4b3
tree24861232e955b06619550454f98d3fb3144e0072
parent63b3a7e3cf3b165107f6bbb155ac4497d6df6a20
powerpc: simplify patch_instruction_site() and patch_branch_site()

Using patch_site_addr() helper, patch_instruction_site() and
patch_branch_site() can be simplified and inlined.

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/code-patching.h
arch/powerpc/lib/code-patching.c