]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
virtio: console: Introduce a send_buf function for a common path for sending data...
authorAmit Shah <amit.shah@redhat.com>
Mon, 21 Dec 2009 11:58:51 +0000 (17:28 +0530)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 24 Feb 2010 03:52:51 +0000 (14:22 +1030)
commitf997f00bf8c3ddf748d757105afa1a7dd5297208
treeaedb212484ca3ff86ec5eb9c141a70e64df96f59
parent203baab8ba3195dd929473ba95b91c2b838833e6
virtio: console: Introduce a send_buf function for a common path for sending data to host

Adding support for generic ports that will write to userspace will need
some code changes.

Consolidate the write routine into send_buf() and put_chars() now just
calls into the new function.

Signed-off-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/char/virtio_console.c