From: Suzuki K Poulose Date: Tue, 2 Jan 2018 11:25:26 +0000 (+0000) Subject: perf: Export perf_event_update_userpage X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=82975c46da8275a2a212cd94049bbef9bb961da2;p=openwrt%2Fstaging%2Fblogic.git perf: Export perf_event_update_userpage Export perf_event_update_userpage() so that PMU driver using them, can be built as modules. Acked-by: Peter Zilstra Signed-off-by: Suzuki K Poulose Signed-off-by: Will Deacon --- diff --git a/kernel/events/core.c b/kernel/events/core.c index 4df5b695bf0d..64ec2c9d2c44 100644 --- a/kernel/events/core.c +++ b/kernel/events/core.c @@ -4904,6 +4904,7 @@ void perf_event_update_userpage(struct perf_event *event) unlock: rcu_read_unlock(); } +EXPORT_SYMBOL_GPL(perf_event_update_userpage); static int perf_mmap_fault(struct vm_fault *vmf) {