hvc_console: Add a hangup notifier for backends
authorHendrik Brueckner <brueckner@linux.vnet.ibm.com>
Mon, 13 Oct 2008 23:12:48 +0000 (23:12 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 21 Oct 2008 23:59:54 +0000 (10:59 +1100)
commitfc362e2e0efd8b652ebfb409a4e43e6189c04f6f
tree9cffc84bcc4e615ee08f0f47ff58a7131b55194a
parenta02efb906d12c9d4eb2ab7c59049ba9545e5412d
hvc_console: Add a hangup notifier for backends

I have added a hangup notifier that can be used by hvc console
backends to handle a tty hangup. The default irq hangup notifier
calls the notifier_del_irq() for compatibility.

Acked-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
drivers/char/hvc_console.c
drivers/char/hvc_console.h
drivers/char/hvc_irq.c
drivers/char/hvc_iseries.c
drivers/char/hvc_vio.c
drivers/char/hvc_xen.c
drivers/char/virtio_console.c