projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0cb52ad
)
perf: Remove unused extern declaration arch_perf_get_page_size()
author
YueHaibing
<yuehaibing@huawei.com>
Tue, 25 Jul 2023 13:50:38 +0000
(21:50 +0800)
committer
Peter Zijlstra
<peterz@infradead.org>
Wed, 26 Jul 2023 10:28:48 +0000
(12:28 +0200)
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
include/linux/perf_event.h
patch
|
blob
|
history
diff --git
a/include/linux/perf_event.h
b/include/linux/perf_event.h
index 9b1cf3c19c5f8d88c303f1b41e2796b97805f3cc..e83f13ce4a9fe71adfdd8d85fc1f9e6326adb45f 100644
(file)
--- 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.
*