printk: Make it compile with !CONFIG_PRINTK
authorPeter Zijlstra <peterz@infradead.org>
Thu, 15 Mar 2012 11:35:37 +0000 (12:35 +0100)
committerIngo Molnar <mingo@elte.hu>
Thu, 15 Mar 2012 12:38:54 +0000 (13:38 +0100)
Commit 3ccf3e830615 ("printk/sched: Introduce special
printk_sched() for those awkward moments") overlooked
an #ifdef, so move code around to respect these directives.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Randy Dunlap <rdunlap@xenotime.net>
Link: http://lkml.kernel.org/r/1331811337.18960.179.camel@twins
Signed-off-by: Ingo Molnar <mingo@elte.hu>

No differences found