tools/virtio: separate headers more.
This makes them a bit more like the kernel headers, so we can include more real kernel headers in our tests. In addition this means that we don't break tools/virtio with the next patch. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
4
tools/virtio/linux/ratelimit.h
Normal file
4
tools/virtio/linux/ratelimit.h
Normal file
@@ -0,0 +1,4 @@
|
||||
#define DEFINE_RATELIMIT_STATE(name, interval_init, burst_init) int name = 0
|
||||
|
||||
#define __ratelimit(x) (*(x))
|
||||
|
Reference in New Issue
Block a user