[1/4] perf: Export perf_event_update_userpage

Message ID 20190110091826.1405-1-ike.pan@canonical.com
State New
Headers show
  • Add Cavium ThunderX2 SoC UNCORE PMU driver
Related show

Commit Message

Ike Panhc Jan. 10, 2019, 9:18 a.m.
From: Suzuki K Poulose <suzuki.poulose@arm.com>

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

Acked-by: Peter Zilstra <peterz@infradead.org>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
(cherry picked from commit 82975c46da8275a2a212cd94049bbef9bb961da2)
Signed-off-by: Ike Panhc <ike.pan@canonical.com>
 kernel/events/core.c | 1 +
 1 file changed, 1 insertion(+)


diff --git a/kernel/events/core.c b/kernel/events/core.c
index 0041bce2cf99..7eeabaebc225 100644
--- a/kernel/events/core.c
+++ b/kernel/events/core.c
@@ -4958,6 +4958,7 @@  void perf_event_update_userpage(struct perf_event *event)
 static int perf_mmap_fault(struct vm_fault *vmf)