diff --git a/drivers/base/arch_topology.c b/drivers/base/arch_topology.c index add1a988cf5c..78d597d4a8ee 100644 --- a/drivers/base/arch_topology.c +++ b/drivers/base/arch_topology.c @@ -143,7 +143,7 @@ void topology_set_freq_scale(const struct cpumask *cpus, unsigned long cur_freq, scale = (cur_freq << SCHED_CAPACITY_SHIFT) / max_freq; - trace_android_vh_arch_set_freq_scale(cpus, cur_freq, max_freq, &scale); + trace_android_vh_arch_set_freq_scale(cur_freq, max_freq, &scale); for_each_cpu(i, cpus) per_cpu(arch_freq_scale, i) = scale; diff --git a/include/trace/hooks/topology.h b/include/trace/hooks/topology.h index 2fd5a028d94a..429a551deb76 100644 --- a/include/trace/hooks/topology.h +++ b/include/trace/hooks/topology.h @@ -8,12 +8,10 @@ #define _TRACE_HOOK_TOPOLOGY_H #include -#include DECLARE_HOOK(android_vh_arch_set_freq_scale, - TP_PROTO(const struct cpumask *cpus, unsigned long freq, - unsigned long max, unsigned long *scale), - TP_ARGS(cpus, freq, max, scale)); + TP_PROTO(unsigned long freq, unsigned long max, unsigned long *scale), + TP_ARGS(freq, max, scale)); #endif /* _TRACE_HOOK_TOPOLOGY_H */ /* This part must be outside protection */