sched: Use pr_fmt() and pr_<level>()
[linux-2.6.git] / kernel / sched_idletask.c
index 33d5384..b810e22 100644 (file)
@@ -35,7 +35,7 @@ static void
 dequeue_task_idle(struct rq *rq, struct task_struct *p, int sleep)
 {
        spin_unlock_irq(&rq->lock);
-       printk(KERN_ERR "bad: scheduling from the idle thread!\n");
+       pr_err("bad: scheduling from the idle thread!\n");
        dump_stack();
        spin_lock_irq(&rq->lock);
 }