forked from mirrors/linux
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
This commit is contained in:
parent
07c5972951
commit
f1ec3a517b
1 changed files with 4 additions and 0 deletions
|
|
@ -1544,4 +1544,8 @@ int perf_event_exit_cpu(unsigned int cpu);
|
||||||
#define perf_event_exit_cpu NULL
|
#define perf_event_exit_cpu NULL
|
||||||
#endif
|
#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 */
|
#endif /* _LINUX_PERF_EVENT_H */
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue