diff options
author | Christophe Leroy <christophe.leroy@csgroup.eu> | 2022-07-07 16:55:14 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2022-07-27 21:36:05 +1000 |
commit | 7b48377e1d9f68a1b58dfd22d40b083f38ce76a0 (patch) | |
tree | 78589ab16acf134161e3994f4a395941687b72d2 /arch/powerpc/include/asm/kprobes.h | |
parent | 62ccae78820b25a0ac64bb0f648388ec834fcb3c (diff) | |
download | lwn-7b48377e1d9f68a1b58dfd22d40b083f38ce76a0.tar.gz lwn-7b48377e1d9f68a1b58dfd22d40b083f38ce76a0.zip |
powerpc/probes: Remove ppc_opcode_t
ppc_opcode_t is just an u32. There is no point in hiding u32
behind such a typedef. Remove it.
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/b2d762191b095530789ac8b71b167c6740bb6aed.1657205708.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'arch/powerpc/include/asm/kprobes.h')
-rw-r--r-- | arch/powerpc/include/asm/kprobes.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/kprobes.h b/arch/powerpc/include/asm/kprobes.h index bab364152b29..c8e4b4fd4e33 100644 --- a/arch/powerpc/include/asm/kprobes.h +++ b/arch/powerpc/include/asm/kprobes.h @@ -29,7 +29,7 @@ struct pt_regs; struct kprobe; -typedef ppc_opcode_t kprobe_opcode_t; +typedef u32 kprobe_opcode_t; extern kprobe_opcode_t optinsn_slot; |