[PATCH v6 1/6] perf: Export perf_event_update_userpage

Suzuki K Poulose suzuki.poulose at arm.com
Mon Aug 21 10:55:04 PDT 2017


Export perf_event_update_userpage() so that PMU driver using them,
can be built as modules.

Cc: Peter Zilstra <peterz at infradead.org>
Signed-off-by: Suzuki K Poulose <suzuki.poulose at arm.com>
---
 kernel/events/core.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/kernel/events/core.c b/kernel/events/core.c
index ee20d4c..309ad68 100644
--- a/kernel/events/core.c
+++ b/kernel/events/core.c
@@ -4977,6 +4977,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)
 {
-- 
2.7.5




More information about the linux-arm-kernel mailing list