Index: sys/compat/linuxkpi/common/include/linux/ratelimit.h =================================================================== --- /dev/null +++ sys/compat/linuxkpi/common/include/linux/ratelimit.h @@ -0,0 +1,17 @@ +/* Public domain. */ + +#ifndef _LINUX_RATELIMIT_H +#define _LINUX_RATELIMIT_H + +struct ratelimit_state { +}; + +#define DEFINE_RATELIMIT_STATE(name, interval, burst) \ + int name __used = 1; + +#define __ratelimit(x) (1) + +#define ratelimit_state_init(x, y, z) +#define ratelimit_set_flags(x, y) + +#endif