xref: /freebsd/sys/compat/linuxkpi/common/include/linux/ratelimit.h (revision e6bfd18d21b225af6a0ed67ceeaf1293b7b9eba5)
1 /* Public domain. */
2 
3 #ifndef _LINUXKPI_LINUX_RATELIMIT_H
4 #define _LINUXKPI_LINUX_RATELIMIT_H
5 
6 struct ratelimit_state {
7 };
8 
9 #define DEFINE_RATELIMIT_STATE(name, interval, burst) \
10 	int name __used = 1;
11 
12 #define __ratelimit(x)	(1)
13 
14 #define ratelimit_state_init(x, y, z)
15 #define ratelimit_set_flags(x, y)
16 
17 #endif
18