]> 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)
commitd25858b1f9a845ac4617691f7255446b15627121
treeb26ffcbde6ecc0514d9a8a06ef4d8548d526b80b
parent03622842e9d59271040cf8eb93a1c0b5c6a0a396
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