ANDROID: GKI: fix up arguments for trace_android_vh_arch_set_freq_scale()

The 'cpus' parameter is now a constant pointer, so fix up the parameter
definition so that the build no longer breaks.

This was caused by upstream commit a20b7053b5 ("cpufreq,arm,arm64:
restructure definitions of arch_set_freq_scale()")

Bug: 167126223
Fixes: 07f80e7c1e ("ANDROID: sched: add cpumask parameter to cpu capacity vendor hook")
Cc: Yun Hsiang <yun.hsiang@mediatek.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: Ic96ff16028980fd8609c5d295454b9080c66fbe2
This commit is contained in:
Greg Kroah-Hartman
2020-10-25 15:14:13 +01:00
parent 37afce95bb
commit 2f33651bdf

View File

@@ -14,8 +14,8 @@
#if defined(CONFIG_TRACEPOINTS) && defined(CONFIG_ANDROID_VENDOR_HOOKS)
DECLARE_HOOK(android_vh_arch_set_freq_scale,
TP_PROTO(struct cpumask *cpus, unsigned long freq, unsigned long max,
unsigned long *scale),
TP_PROTO(const struct cpumask *cpus, unsigned long freq,
unsigned long max, unsigned long *scale),
TP_ARGS(cpus, freq, max, scale));
#else