virtio: console: Introduce function to hand off data from host to readers
authorAmit Shah <amit.shah@redhat.com>
Mon, 18 Jan 2010 13:45:12 +0000 (19:15 +0530)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 24 Feb 2010 03:52:50 +0000 (14:22 +1030)
commit203baab8ba3195dd929473ba95b91c2b838833e6
treee6720bb993a46f53bd4607d55701606c754f2c00
parent2658a79acf014deb0eaff2063f8f7a2b59f41285
virtio: console: Introduce function to hand off data from host to readers

In preparation for serving data to userspace (generic ports) as well as
in-kernel users (hvc consoles), separate out the functionality common to
both in a 'fill_readbuf()' function.

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