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