[PATCH 1/2] remoteproc: refactor find_vqs to prepare for vringh

2013-03-15 Thread Erwan Yvin
From: Erwan YVIN Refactor code for creating virtio queues and prepare for accommodating the new host virtio rings. This refactoring moves all handing of struct virtqueue to a separate function __create_new_virtqueue(). A more generic function __rproc_virtio_find_rings() allocates the virtio

[PATCH 1/2] remoteproc: refactor find_vqs to prepare for vringh

2013-03-15 Thread Erwan Yvin
From: Erwan YVIN erwan.y...@stericsson.com Refactor code for creating virtio queues and prepare for accommodating the new host virtio rings. This refactoring moves all handing of struct virtqueue to a separate function __create_new_virtqueue(). A more generic function __rproc_virtio_find_rings()