mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 12:17:12 +09:00
sched/fair: remove erroneous RCU_LOCKDEP_WARN from start_cpu()
Fixes: https://bugs.linaro.org/show_bug.cgi?id=3075 Change-Id: I62d714fc4b9366a9b2535649aa92d1edc840cf94 Reported-by: Naresh Kamboju <naresh.kamboju@linaro.org> Signed-off-by: Dietmar Eggemann <dietmar.eggemann@arm.com> Signed-off-by: Brendan Jackman <brendan.jackman@arm.com> Signed-off-by: Chris Redpath <chris.redpath@arm.com> (cherry picked from commit 2617b1391f69dfbd6ffc340c235059107745aac2) Signed-off-by: Quentin Perret <quentin.perret@arm.com>
This commit is contained in:
committed by
Todd Kjos
parent
5783838362
commit
dad887ffaf
@@ -6707,9 +6707,6 @@ static int start_cpu(bool boosted)
|
||||
{
|
||||
struct root_domain *rd = cpu_rq(smp_processor_id())->rd;
|
||||
|
||||
RCU_LOCKDEP_WARN(rcu_read_lock_sched_held(),
|
||||
"sched RCU must be held");
|
||||
|
||||
return boosted ? rd->max_cap_orig_cpu : rd->min_cap_orig_cpu;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user