virtio: rename virtqueue_add_buf_gfp to virtqueue_add_buf
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 12 Jan 2012 05:14:42 +0000 (15:14 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 12 Jan 2012 05:14:42 +0000 (15:14 +1030)
commitf96fde41f7f9af6cf20f6a1919f5d9670f84d574
tree14b8a0343b255989ac8ba0ea34e18dca419723df
parent5dfc17628d57f9e62043ed0cba03a6e3eb019a78
virtio: rename virtqueue_add_buf_gfp to virtqueue_add_buf

Remove wrapper functions. This makes the allocation type explicit in
all callers; I used GPF_KERNEL where it seemed obvious, left it at
GFP_ATOMIC otherwise.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Reviewed-by: Christoph Hellwig <hch@lst.de>
drivers/block/virtio_blk.c
drivers/char/hw_random/virtio-rng.c
drivers/char/virtio_console.c
drivers/net/virtio_net.c
drivers/virtio/virtio_balloon.c
drivers/virtio/virtio_ring.c
include/linux/virtio.h
net/9p/trans_virtio.c
tools/virtio/linux/virtio.h
tools/virtio/virtio_test.c