mirror of
https://github.com/torvalds/linux.git
synced 2026-07-31 11:37:06 +02:00
sched: walt: Register restricted trace hook for libunity fixup
Need restricted hook so that it can sleep. Change-Id: I2b546f57f7ee58beed3dad84f201fd075fa0d21d Signed-off-by: Shaleen Agrawal <shalagra@codeaurora.org>
This commit is contained in:
parent
1a3d10c831
commit
1a9ac70efd
|
|
@ -77,7 +77,7 @@ static bool is_sched_lib_based_app(pid_t pid)
|
|||
return found;
|
||||
}
|
||||
|
||||
static void android_vh_show_max_freq(void *unused, struct cpufreq_policy *policy,
|
||||
static void android_rvh_show_max_freq(void *unused, struct cpufreq_policy *policy,
|
||||
unsigned int *max_freq)
|
||||
{
|
||||
if (!cpuinfo_max_freq_cached)
|
||||
|
|
@ -92,5 +92,5 @@ static void android_vh_show_max_freq(void *unused, struct cpufreq_policy *policy
|
|||
|
||||
void walt_fixup_init(void)
|
||||
{
|
||||
register_trace_android_vh_show_max_freq(android_vh_show_max_freq, NULL);
|
||||
register_trace_android_rvh_show_max_freq(android_rvh_show_max_freq, NULL);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user