summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/bpf_perf_event.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2022-07-02 09:11:44 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2022-07-02 09:11:44 -0700
commit5411de073362300d99bb35d46d77d656760e4606 (patch)
treece47af6c8c7706f7a57050a2d9607cdd75f52aaa /arch/powerpc/include/asm/bpf_perf_event.h
parent089866061428ec9bf67221247c936792078c41a4 (diff)
parentac790d09885d36143076e7e02825c541e8eee899 (diff)
downloadlinux-5411de073362300d99bb35d46d77d656760e4606.tar.bz2
Merge tag 'powerpc-5.19-4' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux
Pull powerpc fixes from Michael Ellerman: - Fix BPF uapi confusion about the correct type of bpf_user_pt_regs_t. - Fix virt_addr_valid() when memory is hotplugged above the boot-time high_memory value. - Fix a bug in 64-bit Book3E map_kernel_page() which would incorrectly allocate a PMD page at PUD level. - Fix a couple of minor issues found since we enabled KASAN for 64-bit Book3S. Thanks to Aneesh Kumar K.V, Cédric Le Goater, Christophe Leroy, Kefeng Wang, Liam Howlett, Nathan Lynch, and Naveen N. Rao. * tag 'powerpc-5.19-4' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux: powerpc/memhotplug: Add add_pages override for PPC powerpc/bpf: Fix use of user_pt_regs in uapi powerpc/prom_init: Fix kernel config grep powerpc/book3e: Fix PUD allocation size in map_kernel_page() powerpc/xive/spapr: correct bitmap allocation size
Diffstat (limited to 'arch/powerpc/include/asm/bpf_perf_event.h')
-rw-r--r--arch/powerpc/include/asm/bpf_perf_event.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/bpf_perf_event.h b/arch/powerpc/include/asm/bpf_perf_event.h
new file mode 100644
index 000000000000..e8a7b4ffb58c
--- /dev/null
+++ b/arch/powerpc/include/asm/bpf_perf_event.h
@@ -0,0 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#ifndef _ASM_POWERPC_BPF_PERF_EVENT_H
+#define _ASM_POWERPC_BPF_PERF_EVENT_H
+
+#include <asm/ptrace.h>
+
+typedef struct user_pt_regs bpf_user_pt_regs_t;
+
+#endif /* _ASM_POWERPC_BPF_PERF_EVENT_H */