]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit29cb6b125cc0d0114bfe9b7d77fd5d9ed9f25639
treee6720bb993a46f53bd4607d55701606c754f2c00
parent6dc2210500376e2b18c0ae860182816d196f9484
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