Skip to content

Commit dd1a6f1

Browse files
deggemanpundiramit
authored andcommitted
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>
1 parent cd46b9e commit dd1a6f1

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

kernel/sched/fair.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6234,9 +6234,6 @@ static int start_cpu(bool boosted)
62346234
{
62356235
struct root_domain *rd = cpu_rq(smp_processor_id())->rd;
62366236

6237-
RCU_LOCKDEP_WARN(rcu_read_lock_sched_held(),
6238-
"sched RCU must be held");
6239-
62406237
return boosted ? rd->max_cap_orig_cpu : rd->min_cap_orig_cpu;
62416238
}
62426239

0 commit comments

Comments
 (0)