xref: /freebsd/sys/compat/linuxkpi/common/include/linux/ratelimit.h (revision 911f0260390e18cf85f3dbf2c719b593efdc1e3c)
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