]> git.proxmox.com Git - mirror_ubuntu-hirsute-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)
commit622cf6f436a12338bbcfbb3474629755547fd112
treeb26ffcbde6ecc0514d9a8a06ef4d8548d526b80b
parent5249385ad7f0ac178433f0ae9cc5b64612c8ff77
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