mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 05:20:49 +07:00
61d0b5a4b2
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>
5 lines
109 B
C
5 lines
109 B
C
#define DEFINE_RATELIMIT_STATE(name, interval_init, burst_init) int name = 0
|
|
|
|
#define __ratelimit(x) (*(x))
|
|
|