diff --git a/kernel/sched/rt.c b/kernel/sched/rt.c index 7d9fec642662..c0fc24530643 100644 --- a/kernel/sched/rt.c +++ b/kernel/sched/rt.c @@ -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); diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h index 210032735650..f3ee288cc680 100644 --- a/kernel/sched/sched.h +++ b/kernel/sched/sched.h @@ -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 */