[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <169079876986.28540.2484423091109012326.tip-bot2@tip-bot2>
Date: Mon, 31 Jul 2023 10:19:29 -0000
From: "tip-bot2 for YueHaibing" <tip-bot2@...utronix.de>
To: linux-tip-commits@...r.kernel.org
Cc: YueHaibing <yuehaibing@...wei.com>,
"Peter Zijlstra (Intel)" <peterz@...radead.org>, x86@...nel.org,
linux-kernel@...r.kernel.org
Subject: [tip: perf/core] perf: Remove unused extern declaration
arch_perf_get_page_size()
The following commit has been merged into the perf/core branch of tip:
Commit-ID: 62af03223785c11a0916df6a854ef4785d2350a5
Gitweb: https://git.kernel.org/tip/62af03223785c11a0916df6a854ef4785d2350a5
Author: YueHaibing <yuehaibing@...wei.com>
AuthorDate: Tue, 25 Jul 2023 21:50:38 +08:00
Committer: Peter Zijlstra <peterz@...radead.org>
CommitterDate: Wed, 26 Jul 2023 12:28:48 +02:00
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@...wei.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@...radead.org>
Link: https://lkml.kernel.org/r/20230725135038.25060-1-yuehaibing@huawei.com
---
include/linux/perf_event.h | 4 ----
1 file changed, 4 deletions(-)
diff --git a/include/linux/perf_event.h b/include/linux/perf_event.h
index 9b1cf3c..e83f13c 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.
*
Powered by blists - more mailing lists