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