sched/core: Provide a pointer to the valid CPU mask
[sfrench/cifs-2.6.git] / fs / proc / array.c
index 2edbb657f859bff9528eff4b83dc14da121b17e0..84908556ea58676996bd885141e078517dcb4d38 100644 (file)
@@ -381,9 +381,9 @@ static inline void task_context_switch_counts(struct seq_file *m,
 static void task_cpus_allowed(struct seq_file *m, struct task_struct *task)
 {
        seq_printf(m, "Cpus_allowed:\t%*pb\n",
-                  cpumask_pr_args(&task->cpus_allowed));
+                  cpumask_pr_args(task->cpus_ptr));
        seq_printf(m, "Cpus_allowed_list:\t%*pbl\n",
-                  cpumask_pr_args(&task->cpus_allowed));
+                  cpumask_pr_args(task->cpus_ptr));
 }
 
 static inline void task_core_dumping(struct seq_file *m, struct mm_struct *mm)