Skip to content

Commit f1ec3a5

Browse files
Benjamin ThielIngo Molnar
authored andcommitted
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 <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
1 parent 07c5972 commit f1ec3a5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

include/linux/perf_event.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1544,4 +1544,8 @@ int perf_event_exit_cpu(unsigned int cpu);
15441544
#define perf_event_exit_cpu NULL
15451545
#endif
15461546

1547+
extern void __weak arch_perf_update_userpage(struct perf_event *event,
1548+
struct perf_event_mmap_page *userpg,
1549+
u64 now);
1550+
15471551
#endif /* _LINUX_PERF_EVENT_H */

0 commit comments

Comments
 (0)