aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/events/internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/events/internal.h')
-rw-r--r--kernel/events/internal.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/events/internal.h b/kernel/events/internal.h
index 7fd5408493d..ce7bdfc1d04 100644
--- a/kernel/events/internal.h
+++ b/kernel/events/internal.h
@@ -114,6 +114,10 @@ static inline int memcpy_common(void *dst, const void *src, size_t n)
114 114
115DEFINE_OUTPUT_COPY(__output_copy, memcpy_common) 115DEFINE_OUTPUT_COPY(__output_copy, memcpy_common)
116 116
117#define MEMCPY_SKIP(dst, src, n) (n)
118
119DEFINE_OUTPUT_COPY(__output_skip, MEMCPY_SKIP)
120
117#ifndef arch_perf_out_copy_user 121#ifndef arch_perf_out_copy_user
118#define arch_perf_out_copy_user __copy_from_user_inatomic 122#define arch_perf_out_copy_user __copy_from_user_inatomic
119#endif 123#endif