mirror of
https://github.com/torvalds/linux.git
synced 2026-07-30 19:21:28 +02:00
sched/walt: Define sched_trace_rd_span
sched_trace_rd_span is removed upstream. Restore the function locally. Change-Id: I066be161e1da49b11de10f034e8f46a4c1510391 Signed-off-by: Sai Harshini Nimmala <quic_snimmala@quicinc.com>
This commit is contained in:
parent
252aa83964
commit
c388a7b37f
|
|
@ -106,6 +106,15 @@ static void unregister_sched_switch_ctrs(void)
|
|||
cpuhp_remove_state_nocalls(USE_CPUHP_STATE);
|
||||
}
|
||||
|
||||
const struct cpumask *sched_trace_rd_span(struct root_domain *rd)
|
||||
{
|
||||
#ifdef CONFIG_SMP
|
||||
return rd ? rd->span : NULL;
|
||||
#else
|
||||
return NULL;
|
||||
#endif
|
||||
}
|
||||
|
||||
static void sched_overutilized(void *data, struct root_domain *rd,
|
||||
bool overutilized)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user