mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
tools/virtio: move list macro stubs
Makes them more generally available. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
c13f99b7e9
commit
40c172e5d9
2 changed files with 6 additions and 6 deletions
|
@ -3,12 +3,6 @@
|
|||
#include <linux/scatterlist.h>
|
||||
#include <linux/kernel.h>
|
||||
|
||||
/* TODO: empty stubs for now. Broken but enough for virtio_ring.c */
|
||||
#define list_add_tail(a, b) do {} while (0)
|
||||
#define list_del(a) do {} while (0)
|
||||
#define list_for_each_entry(a, b, c) while (0)
|
||||
/* end of stubs */
|
||||
|
||||
struct virtio_device {
|
||||
void *dev;
|
||||
u64 features;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue