diff options
author | Suzuki K Poulose <suzuki.poulose@arm.com> | 2018-01-02 14:25:26 +0300 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2018-01-02 19:43:12 +0300 |
commit | 82975c46da8275a2a212cd94049bbef9bb961da2 (patch) | |
tree | 6eea45f9ba68ea3f4f8c62dce0ac41d4d88e4272 /kernel/events | |
parent | 50c4c4e268a2d7a3e58ebb698ac74da0de40ae36 (diff) | |
download | linux-82975c46da8275a2a212cd94049bbef9bb961da2.tar.xz |
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 <peterz@infradead.org>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'kernel/events')
-rw-r--r-- | kernel/events/core.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) { |