]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/kprobes: Factor out code to emulate instruction into a helper
authorNaveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Wed, 19 Apr 2017 12:51:04 +0000 (18:21 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 20 Apr 2017 13:18:56 +0000 (23:18 +1000)
commit2e798ab209138a760ca6214fe37617afe68959f1
treece49886287ef73d1ff879f7268331061c2f62402
parent27bb53b1266024e7f1f385f26d8119f0ff5521b9
powerpc/kprobes: Factor out code to emulate instruction into a helper

Factor out code to emulate instruction into a try_to_emulate()
helper function. This makes no functional changes.

Acked-by: Ananth N Mavinakayanahalli <ananth@linux.vnet.ibm.com>
Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/kprobes.c