mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 10:58:48 +09:00
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 commita20b7053b5("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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user