From: Zhang Zekun zhangzekun11@huawei.com
Fix l3c pmu mini compile error, when it was compiled as a Module
Signed-off-by: Zhang Zekun zhangzekun11@huawei.com --- drivers/perf/hisilicon/hisi_uncore_pmu.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/drivers/perf/hisilicon/hisi_uncore_pmu.c b/drivers/perf/hisilicon/hisi_uncore_pmu.c index ab718a039b44..9b13f2e13f4c 100644 --- a/drivers/perf/hisilicon/hisi_uncore_pmu.c +++ b/drivers/perf/hisilicon/hisi_uncore_pmu.c @@ -69,11 +69,13 @@ void hisi_hrtimer_start(struct hisi_pmu *hisi_pmu) ms_to_ktime(hisi_pmu->hrt_duration), HRTIMER_MODE_REL_PINNED); } +EXPORT_SYMBOL_GPL(hisi_hrtimer_start);
void hisi_hrtimer_stop(struct hisi_pmu *hisi_pmu) { hrtimer_cancel(&hisi_pmu->hrtimer); } +EXPORT_SYMBOL_GPL(hisi_hrtimer_stop);
static bool hisi_validate_event_group(struct perf_event *event) {