ANDROID: Move cpu_busy_with_softirqs() into sched.h

The extern declaration ended up at the end of rt.c instead of sched.h by
mistake.

Bug: 332629555
Fixes: dcdec80d6b ("ANDROID: Export cpu_busy_with_softirqs()")
Signed-off-by: Qais Yousef <qyousef@google.com>
Change-Id: Id95a1c2261134c4d4f589ec51d350fc5eb2724f9
This commit is contained in:
Qais Yousef 2024-04-03 23:38:02 +00:00 committed by Treehugger Robot
parent 5dd0c4814f
commit ebcdb9dc21
2 changed files with 1 additions and 2 deletions

View file

@ -3169,5 +3169,3 @@ void print_rt_stats(struct seq_file *m, int cpu)
rcu_read_unlock();
}
#endif /* CONFIG_SCHED_DEBUG */
extern bool cpu_busy_with_softirqs(int cpu);

View file

@ -3278,4 +3278,5 @@ static inline void update_current_exec_runtime(struct task_struct *curr,
cgroup_account_cputime(curr, delta_exec);
}
extern bool cpu_busy_with_softirqs(int cpu);
#endif /* _KERNEL_SCHED_SCHED_H */