hulk inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I73EPL
--------------------------------
Export the cpu_has_amu_feat() function for using by cppc_cpufreq.c to check if the processor implements ARM's Activity Monitor Unit (AMU).
Signed-off-by: Zeng Heng zengheng4@huawei.com --- arch/arm64/kernel/cpufeature.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/arch/arm64/kernel/cpufeature.c b/arch/arm64/kernel/cpufeature.c index 455e72ce080a..fa4360da43f0 100644 --- a/arch/arm64/kernel/cpufeature.c +++ b/arch/arm64/kernel/cpufeature.c @@ -1938,6 +1938,7 @@ bool cpu_has_amu_feat(int cpu) { return cpumask_test_cpu(cpu, &amu_cpus); } +EXPORT_SYMBOL(cpu_has_amu_feat);
int get_cpu_with_amu_feat(void) {