perf: Export perf_event_update_userpage
authorSuzuki K Poulose <suzuki.poulose@arm.com>
Tue, 2 Jan 2018 11:25:26 +0000 (11:25 +0000)
committerWill Deacon <will.deacon@arm.com>
Tue, 2 Jan 2018 16:43:12 +0000 (16:43 +0000)
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>
kernel/events/core.c

index 4df5b695bf0db1c035a22b914d87ad190d1a0f42..64ec2c9d2c44c32988d355045dcc48ade7fcd1aa 100644 (file)
@@ -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)
 {