summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Thiel <b.thiel@posteo.de>2020-01-09 14:13:51 +0100
committerIngo Molnar <mingo@kernel.org>2020-01-28 21:26:44 +0100
commitf1ec3a517b4352e78dbef6b1e591f43202ecb3fe (patch)
tree27ed74cbaf68087d6d5a7d9adaf3ef24db96843e
parent07c5972951f088094776038006a0592a46d14bbc (diff)
downloadlinux-stable-f1ec3a517b4352e78dbef6b1e591f43202ecb3fe.tar.gz
linux-stable-f1ec3a517b4352e78dbef6b1e591f43202ecb3fe.tar.bz2
linux-stable-f1ec3a517b4352e78dbef6b1e591f43202ecb3fe.zip
kernel/events: Add a missing prototype for arch_perf_update_userpage()
... in order to fix a -Wmissing-prototype warning. No functional changes. Signed-off-by: Benjamin Thiel <b.thiel@posteo.de> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Signed-off-by: Ingo Molnar <mingo@kernel.org> Link: https://lkml.kernel.org/r/20200109131351.9468-1-b.thiel@posteo.de
-rw-r--r--include/linux/perf_event.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/perf_event.h b/include/linux/perf_event.h
index 6d4c22aee384..52928e089bc7 100644
--- a/include/linux/perf_event.h
+++ b/include/linux/perf_event.h
@@ -1544,4 +1544,8 @@ int perf_event_exit_cpu(unsigned int cpu);
#define perf_event_exit_cpu NULL
#endif
+extern void __weak arch_perf_update_userpage(struct perf_event *event,
+ struct perf_event_mmap_page *userpg,
+ u64 now);
+
#endif /* _LINUX_PERF_EVENT_H */