hvc_console: Add kdb support
authorAnton Blanchard <anton@samba.org>
Tue, 12 Jul 2011 19:44:05 +0000 (19:44 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 19 Jul 2011 05:13:07 +0000 (15:13 +1000)
commit762e77ae7dd055d0b77e0ad34d87db7416df109e
tree5267193f4224aaed3117746cc2e3f47d1e0e1025
parent19df9abdd30a0448e5940c6aa3527096bb69aca7
hvc_console: Add kdb support

Add poll_get_char and poll_put_char for kdb. Enable kdb at boot with:

kgdboc=hvc0

or at runtime with:

echo hvc0 > /sys/module/kgdboc/parameters/kgdboc

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
drivers/tty/hvc/hvc_console.c