printk,kdb: capture printk() when in kdb shell
authorJason Wessel <jason.wessel@windriver.com>
Fri, 21 May 2010 02:04:27 +0000 (21:04 -0500)
committerJason Wessel <jason.wessel@windriver.com>
Fri, 21 May 2010 02:04:27 +0000 (21:04 -0500)
commitd37d39ae3b4a8f9a21114921fb344fe7cadb1abd
tree2c20219725a12c343429758ec378b5c9d08b04bd
parentefe2f29e324fd20e0449bcd6dc6dbe4734c2ba94
printk,kdb: capture printk() when in kdb shell

Certain calls from the kdb shell will call out to printk(), and any of
these calls should get vectored back to the kdb_printf() so that the
kdb pager and processing can be used, as well as to properly channel
I/O to the polled I/O devices.

CC: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Acked-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/kdb.h
kernel/debug/kdb/kdb_bt.c
kernel/debug/kdb/kdb_io.c
kernel/debug/kdb/kdb_main.c
kernel/printk.c