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)
commit600e145882802d6ccbfe2c4aea243d97caeb91a9
tree0ad47fe66dfe2ea41a75c493e877483049dd446b
parent9993bc635d01a6ee7f6b833b4ee65ce7c06350b1
printk: Make it compile with !CONFIG_PRINTK

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>
kernel/printk.c