commit | a8646f43ba5046e7f5c4396125d5136bfcb17b49 | [log] [tgz] |
---|---|---|
author | Jordan Niethe <jniethe5@gmail.com> | Wed May 06 13:40:35 2020 +1000 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Tue May 19 00:10:37 2020 +1000 |
tree | 0fa038b175bff945859bbe8700bb6d5ef8df13a5 | |
parent | 95b980a00d1220ca67550a933166704db8bc5c14 [diff] |
powerpc/kprobes: Use patch_instruction() Instead of using memcpy() and flush_icache_range() use patch_instruction() which not only accomplishes both of these steps but will also make it easier to add support for prefixed instructions. Signed-off-by: Jordan Niethe <jniethe5@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Reviewed-by: Alistair Popple <alistair@popple.id.au> Link: https://lore.kernel.org/r/20200506034050.24806-16-jniethe5@gmail.com