diff options
author | YueHaibing <yuehaibing@huawei.com> | 2023-07-25 21:50:38 +0800 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2023-07-26 12:28:48 +0200 |
commit | 62af03223785c11a0916df6a854ef4785d2350a5 (patch) | |
tree | f8e8005268f5f0d4cfaaefc49e86b4026eaadfb9 | |
parent | 0cb52ad7bbb27bc6700412b055c743d5ae501b29 (diff) | |
download | linux-stable-62af03223785c11a0916df6a854ef4785d2350a5.tar.gz linux-stable-62af03223785c11a0916df6a854ef4785d2350a5.tar.bz2 linux-stable-62af03223785c11a0916df6a854ef4785d2350a5.zip |
perf: Remove unused extern declaration arch_perf_get_page_size()
commit 8af26be06272 ("perf/core: Fix arch_perf_get_page_size()")
left behind this.
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20230725135038.25060-1-yuehaibing@huawei.com
-rw-r--r-- | include/linux/perf_event.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/perf_event.h b/include/linux/perf_event.h index 9b1cf3c19c5f..e83f13ce4a9f 100644 --- a/include/linux/perf_event.h +++ b/include/linux/perf_event.h @@ -1860,10 +1860,6 @@ extern void arch_perf_update_userpage(struct perf_event *event, struct perf_event_mmap_page *userpg, u64 now); -#ifdef CONFIG_MMU -extern __weak u64 arch_perf_get_page_size(struct mm_struct *mm, unsigned long addr); -#endif - /* * Snapshot branch stack on software events. * |