return atomic_read(&rto_count);
}
-static inline cpumask_t *rt_overload(void)
-{
- return &rt_overload_mask;
-}
-
static inline void rt_set_overload(struct rq *rq)
{
rq->rt.overloaded = 1;
struct task_struct *next;
struct task_struct *p;
struct rq *src_rq;
- cpumask_t *rto_cpumask;
int this_cpu = this_rq->cpu;
int cpu;
int ret = 0;
next = pick_next_task_rt(this_rq);
- rto_cpumask = rt_overload();
-
- for_each_cpu_mask(cpu, *rto_cpumask) {
+ for_each_cpu_mask(cpu, rt_overload_mask) {
if (this_cpu == cpu)
continue;