diff options
Diffstat (limited to 'kernel/cpu.c')
-rw-r--r-- | kernel/cpu.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/cpu.c b/kernel/cpu.c index a21f71af9d81..ebf6647a2bd4 100644 --- a/kernel/cpu.c +++ b/kernel/cpu.c | |||
@@ -98,7 +98,8 @@ static inline void check_for_tasks(int cpu) | |||
98 | !cputime_eq(p->stime, cputime_zero))) | 98 | !cputime_eq(p->stime, cputime_zero))) |
99 | printk(KERN_WARNING "Task %s (pid = %d) is on cpu %d\ | 99 | printk(KERN_WARNING "Task %s (pid = %d) is on cpu %d\ |
100 | (state = %ld, flags = %x) \n", | 100 | (state = %ld, flags = %x) \n", |
101 | p->comm, p->pid, cpu, p->state, p->flags); | 101 | p->comm, task_pid_nr(p), cpu, |
102 | p->state, p->flags); | ||
102 | } | 103 | } |
103 | write_unlock_irq(&tasklist_lock); | 104 | write_unlock_irq(&tasklist_lock); |
104 | } | 105 | } |