Message ID | 20231025093847.3740104-2-zengheng4@huawei.com |
---|---|
State | New |
Headers | show |
Series | Make the cpuinfo_cur_freq interface read correctly | expand |
diff --git a/arch/arm64/kernel/cpufeature.c b/arch/arm64/kernel/cpufeature.c index 444a73c2e638..47195e66a820 100644 --- a/arch/arm64/kernel/cpufeature.c +++ b/arch/arm64/kernel/cpufeature.c @@ -1935,6 +1935,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) {
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(+)