powerpc/xmon: Add patch_instruction() support for xmon
authorBalbir Singh <bsingharora@gmail.com>
Tue, 27 Jun 2017 07:48:58 +0000 (17:48 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 3 Jul 2017 13:12:19 +0000 (23:12 +1000)
commitefe4fbb1ac3a6489c1dc7d31b51ecb7425807b1b
treeaafd7b38708bf1c61c6de1bb87a62335231098be
parentf3eca956389316acd1a132fad1ad0b6f2ca78a61
powerpc/xmon: Add patch_instruction() support for xmon

Move from mwrite() to patch_instruction() for xmon for
breakpoint addition and removal.

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