]> bbs.cooldavid.org Git - net-next-2.6.git/commit
virtio: add_buf_gfp
authorMichael S. Tsirkin <mst@redhat.com>
Thu, 29 Apr 2010 14:26:37 +0000 (17:26 +0300)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 19 May 2010 12:45:46 +0000 (22:15 +0930)
commitbbd603efb4238cf78083c00f0a81adfa8994aa33
tree3980961f9dbf08e748b3c2de56caf43dec21aa76
parentdc3f5e68f846eec38fb31d78f0b6e83633ad375e
virtio: add_buf_gfp

Add an add_buf variant that gets gfp parameter. Use that
to allocate indirect buffers.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/virtio/virtio_ring.c
include/linux/virtio.h