]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Introduce a function for reporting instruction length
authorJordan Niethe <jniethe5@gmail.com>
Wed, 6 May 2020 03:40:37 +0000 (13:40 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 18 May 2020 14:10:38 +0000 (00:10 +1000)
commitf9b3957b40754e45e7fb718b52d5f3b749da7a83
treeb26ffcbde6ecc0514d9a8a06ef4d8548d526b80b
parent273f3be8e13144bb4603ec65352c07c5ca31a56d
powerpc: Introduce a function for reporting instruction length

Currently all instructions have the same length, but in preparation for
prefixed instructions introduce a function for returning instruction
length.

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-18-jniethe5@gmail.com
arch/powerpc/include/asm/inst.h
arch/powerpc/kernel/kprobes.c
arch/powerpc/kernel/uprobes.c
arch/powerpc/lib/feature-fixups.c