diff options
author | Joe Perches <joe@perches.com> | 2009-12-12 22:57:27 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-12-13 08:13:55 +0100 |
commit | 663997d417330a59a566452f52cfa04c8ffd190b (patch) | |
tree | d5f8a808744664c7d007751c020bcf4bd6e4f1ea /kernel/sched_idletask.c | |
parent | sched: Make wakeup side and atomic variants of completion API irq safe (diff) | |
download | linux-663997d417330a59a566452f52cfa04c8ffd190b.tar.xz linux-663997d417330a59a566452f52cfa04c8ffd190b.zip |
sched: Use pr_fmt() and pr_<level>()
- Convert printk(KERN_<level> to pr_<level> (not KERN_DEBUG)
- Add #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
- Coalesce long format strings
- Add missing \n to "ERROR: !SD_LOAD_BALANCE domain has parent"
Signed-off-by: Joe Perches <joe@perches.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <1260655047.2637.7.camel@Joe-Laptop.home>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/sched_idletask.c')
-rw-r--r-- | kernel/sched_idletask.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched_idletask.c b/kernel/sched_idletask.c index 33d5384a73a8..b810e22772d5 100644 --- a/kernel/sched_idletask.c +++ b/kernel/sched_idletask.c @@ -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); } |