File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2388,4 +2388,6 @@ static inline void sched_core_free(struct task_struct *tsk) { }
23882388static inline void sched_core_fork (struct task_struct * p ) { }
23892389#endif
23902390
2391+ extern void sched_set_stop_task (int cpu , struct task_struct * stop );
2392+
23912393#endif
Original file line number Diff line number Diff line change 1515/* Headers: */
1616#include <linux/sched/clock.h>
1717#include <linux/sched/cputime.h>
18+ #include <linux/sched/hotplug.h>
1819#include <linux/sched/posix-timers.h>
1920#include <linux/sched/rt.h>
2021
3132#include <uapi/linux/sched/types.h>
3233
3334#include "sched.h"
35+ #include "smp.h"
3436
3537#include "autogroup.h"
3638#include "stats.h"
Original file line number Diff line number Diff line change 1414#include <linux/sched/debug.h>
1515#include <linux/sched/isolation.h>
1616#include <linux/sched/loadavg.h>
17+ #include <linux/sched/nohz.h>
1718#include <linux/sched/mm.h>
1819#include <linux/sched/rseq_api.h>
1920#include <linux/sched/task_stack.h>
Original file line number Diff line number Diff line change 2626#include <linux/topology.h>
2727#include <linux/sched/clock.h>
2828#include <linux/sched/cond_resched.h>
29+ #include <linux/sched/cputime.h>
2930#include <linux/sched/debug.h>
31+ #include <linux/sched/hotplug.h>
32+ #include <linux/sched/init.h>
3033#include <linux/sched/isolation.h>
3134#include <linux/sched/loadavg.h>
3235#include <linux/sched/mm.h>
Original file line number Diff line number Diff line change @@ -1220,8 +1220,6 @@ int dl_runtime_exceeded(struct sched_dl_entity *dl_se)
12201220 return (dl_se -> runtime <= 0 );
12211221}
12221222
1223- extern bool sched_rt_bandwidth_account (struct rt_rq * rt_rq );
1224-
12251223/*
12261224 * This function implements the GRUB accounting rule:
12271225 * according to the GRUB reclaiming algorithm, the runtime is
Original file line number Diff line number Diff line change 3636#include <linux/sched/cond_resched.h>
3737#include <linux/sched/cputime.h>
3838#include <linux/sched/isolation.h>
39+ #include <linux/sched/nohz.h>
3940
4041#include <linux/cpuidle.h>
4142#include <linux/interrupt.h>
Original file line number Diff line number Diff line change @@ -1833,12 +1833,7 @@ static inline void dirty_sched_domain_sysctl(int cpu)
18331833#endif
18341834
18351835extern int sched_update_scaling (void );
1836-
1837- extern void flush_smp_call_function_from_idle (void );
1838-
1839- #else /* !CONFIG_SMP: */
1840- static inline void flush_smp_call_function_from_idle (void ) { }
1841- #endif
1836+ #endif /* CONFIG_SMP */
18421837
18431838#include "stats.h"
18441839
@@ -2315,6 +2310,7 @@ extern void resched_cpu(int cpu);
23152310
23162311extern struct rt_bandwidth def_rt_bandwidth ;
23172312extern void init_rt_bandwidth (struct rt_bandwidth * rt_b , u64 period , u64 runtime );
2313+ extern bool sched_rt_bandwidth_account (struct rt_rq * rt_rq );
23182314
23192315extern void init_dl_bandwidth (struct dl_bandwidth * dl_b , u64 period , u64 runtime );
23202316extern void init_dl_task_timer (struct sched_dl_entity * dl_se );
Original file line number Diff line number Diff line change 77extern void sched_ttwu_pending (void * arg );
88
99extern void send_call_function_single_ipi (int cpu );
10+
11+ #ifdef CONFIG_SMP
12+ extern void flush_smp_call_function_from_idle (void );
13+ #else
14+ static inline void flush_smp_call_function_from_idle (void ) { }
15+ #endif
Original file line number Diff line number Diff line change @@ -535,8 +535,6 @@ void stop_machine_park(int cpu)
535535 kthread_park (stopper -> thread );
536536}
537537
538- extern void sched_set_stop_task (int cpu , struct task_struct * stop );
539-
540538static void cpu_stop_create (unsigned int cpu )
541539{
542540 sched_set_stop_task (cpu , per_cpu (cpu_stopper .thread , cpu ));
You can’t perform that action at this time.
0 commit comments