kgdboc,kdb: Allow kdb to work on a non open console port
authorJason Wessel <jason.wessel@windriver.com>
Fri, 21 May 2010 02:04:26 +0000 (21:04 -0500)
committerJason Wessel <jason.wessel@windriver.com>
Fri, 21 May 2010 02:04:26 +0000 (21:04 -0500)
commitefe2f29e324fd20e0449bcd6dc6dbe4734c2ba94
treeff8b2d7eddbfee39aebf7a43c6125202b6bda6d7
parent1cee5e35f15d0893be1ba944f1aec8676e43ab76
kgdboc,kdb: Allow kdb to work on a non open console port

If kdb is open on a serial port that is not actually a console make
sure to call the poll routines to emit and receive characters.

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Acked-by: Martin Hicks <mort@sgi.com>
drivers/serial/kgdboc.c
include/linux/kgdb.h
kernel/debug/kdb/kdb_io.c