diff --git a/kernel/sched/walt/boost.c b/kernel/sched/walt/boost.c index 23e6225b6be1..027eb243acc6 100644 --- a/kernel/sched/walt/boost.c +++ b/kernel/sched/walt/boost.c @@ -200,7 +200,7 @@ static void sched_boost_disable(int type) * be disabled. Disable it first and then apply * the next boost. */ - sb->exit(); + sched_boosts[prev_boost].exit(); sched_boosts[next_boost].enter(); }