summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2018-12-17 22:11:54 +1100
committerMichael Ellerman <mpe@ellerman.id.au>2018-12-17 22:11:54 +1100
commit4d6a19827387d8448afa1f5959b809ed2ba090d6 (patch)
tree74defc825e1ca6af3a09869e689eb1007190f891 /arch/powerpc/include/asm
parent7c91efce1608325634494b25ff6491320208e457 (diff)
parenta225f1567405558fb5410e9b2b90805819df1c67 (diff)
downloadblackbird-obmc-linux-4d6a19827387d8448afa1f5959b809ed2ba090d6.tar.gz
blackbird-obmc-linux-4d6a19827387d8448afa1f5959b809ed2ba090d6.zip
Merge branch 'fixes' into next
Merge our fixes branch again, this has a couple of build fixes and also a change to do_syscall_trace_enter() that will conflict with a patch we want to apply in next.
Diffstat (limited to 'arch/powerpc/include/asm')
-rw-r--r--arch/powerpc/include/asm/perf_event.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/perf_event.h b/arch/powerpc/include/asm/perf_event.h
index 8bf1b6351716..16a49819da9a 100644
--- a/arch/powerpc/include/asm/perf_event.h
+++ b/arch/powerpc/include/asm/perf_event.h
@@ -26,6 +26,8 @@
#include <asm/ptrace.h>
#include <asm/reg.h>
+#define perf_arch_bpf_user_pt_regs(regs) &regs->user_regs
+
/*
* Overload regs->result to specify whether we should use the MSR (result
* is zero) or the SIAR (result is non zero).
OpenPOWER on IntegriCloud