diff --git a/kernel/sched/walt/boost.c b/kernel/sched/walt/boost.c index 8b6d5f721b26..dbab4634a988 100644 --- a/kernel/sched/walt/boost.c +++ b/kernel/sched/walt/boost.c @@ -192,7 +192,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(); }