summaryrefslogtreecommitdiff
path: root/arch/powerpc
diff options
context:
space:
mode:
authorHari Bathini <hbathini@linux.ibm.com>2023-10-20 19:43:57 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-07-05 09:33:50 +0200
commit10339194009208b3daae0c0b6e46ebea9bbfffcc (patch)
tree1bf2a76aa20fe616df6a5fcd1ce88766a297dad0 /arch/powerpc
parentfdd411af8178edc6b7bf260f8fa4fba1bedd0a6d (diff)
downloadlinux-rpi-10339194009208b3daae0c0b6e46ebea9bbfffcc.tar.gz
linux-rpi-10339194009208b3daae0c0b6e46ebea9bbfffcc.tar.bz2
linux-rpi-10339194009208b3daae0c0b6e46ebea9bbfffcc.zip
powerpc/bpf: rename powerpc64_jit_data to powerpc_jit_data
commit de04e40600ae15fa5e484be242e74aad6de7418f upstream. powerpc64_jit_data is a misnomer as it is meant for both ppc32 and ppc64. Rename it to powerpc_jit_data. Signed-off-by: Hari Bathini <hbathini@linux.ibm.com> Acked-by: Song Liu <song@kernel.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://msgid.link/20231020141358.643575-5-hbathini@linux.ibm.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/net/bpf_jit_comp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/net/bpf_jit_comp.c b/arch/powerpc/net/bpf_jit_comp.c
index 37043dfc1add..5f57a8ba3cc8 100644
--- a/arch/powerpc/net/bpf_jit_comp.c
+++ b/arch/powerpc/net/bpf_jit_comp.c
@@ -39,7 +39,7 @@ int bpf_jit_emit_exit_insn(u32 *image, struct codegen_context *ctx, int tmp_reg,
return 0;
}
-struct powerpc64_jit_data {
+struct powerpc_jit_data {
struct bpf_binary_header *header;
u32 *addrs;
u8 *image;
@@ -59,7 +59,7 @@ struct bpf_prog *bpf_int_jit_compile(struct bpf_prog *fp)
u8 *image = NULL;
u32 *code_base;
u32 *addrs;
- struct powerpc64_jit_data *jit_data;
+ struct powerpc_jit_data *jit_data;
struct codegen_context cgctx;
int pass;
int flen;