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 13:36:05 +0200 |
commit | 7b48377e1d9f68a1b58dfd22d40b083f38ce76a0 (patch) | |
tree | 78589ab16acf134161e3994f4a395941687b72d2 /arch/powerpc/include/asm/uprobes.h | |
parent | powerpc: Remove remaining parts of oprofile (diff) | |
download | linux-7b48377e1d9f68a1b58dfd22d40b083f38ce76a0.tar.xz linux-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/uprobes.h')
-rw-r--r-- | arch/powerpc/include/asm/uprobes.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/uprobes.h b/arch/powerpc/include/asm/uprobes.h index a7ae1860115a..4fea116d3d37 100644 --- a/arch/powerpc/include/asm/uprobes.h +++ b/arch/powerpc/include/asm/uprobes.h @@ -12,7 +12,7 @@ #include <linux/notifier.h> #include <asm/probes.h> -typedef ppc_opcode_t uprobe_opcode_t; +typedef u32 uprobe_opcode_t; #define MAX_UINSN_BYTES 8 #define UPROBE_XOL_SLOT_BYTES (MAX_UINSN_BYTES) |