powerpc/kprobes/optprobes: Use patch_instruction()
authorBalbir Singh <bsingharora@gmail.com>
Tue, 6 Jun 2017 04:29:39 +0000 (14:29 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 3 Jul 2017 13:12:19 +0000 (23:12 +1000)
commitf3eca956389316acd1a132fad1ad0b6f2ca78a61
treed5c198f0c0b1a69263d81f5ff5f9c19beea55af1
parentd07df82c43be82ab6972662180e89e6ba2a828ad
powerpc/kprobes/optprobes: Use patch_instruction()

So that we can implement STRICT_RWX, use patch_instruction() in
optprobes.

Signed-off-by: Balbir Singh <bsingharora@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/optprobes.c