mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] kernel/events: Add a missing prototype for arch_perf_update_userpage()
@ 2020-01-09 13:13 Benjamin Thiel
  2020-01-20 15:31 ` Peter Zijlstra
  2020-01-29 11:32 ` [tip: perf/urgent] " tip-bot2 for Benjamin Thiel
  0 siblings, 2 replies; 3+ messages in thread
From: Benjamin Thiel @ 2020-01-09 13:13 UTC (permalink / raw)
  To: X86 ML; +Cc: LKML, Benjamin Thiel

... in order to fix a -Wmissing-prototype warning.

No functional changes.

Signed-off-by: Benjamin Thiel <b.thiel@posteo.de>
---
 include/linux/perf_event.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/include/linux/perf_event.h b/include/linux/perf_event.h
index 6d4c22aee384..de3874271814 100644
--- a/include/linux/perf_event.h
+++ b/include/linux/perf_event.h
@@ -1544,4 +1544,7 @@ int perf_event_exit_cpu(unsigned int cpu);
 #define perf_event_exit_cpu	NULL
 #endif
 
+void __weak arch_perf_update_userpage(
+	struct perf_event *event, struct perf_event_mmap_page *userpg, u64 now);
+
 #endif /* _LINUX_PERF_EVENT_H */
-- 
2.17.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-01-29 11:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-09 13:13 [PATCH] kernel/events: Add a missing prototype for arch_perf_update_userpage() Benjamin Thiel
2020-01-20 15:31 ` Peter Zijlstra
2020-01-29 11:32 ` [tip: perf/urgent] " tip-bot2 for Benjamin Thiel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®