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