aboutsummaryrefslogtreecommitdiff
path: root/sys/compat/linuxkpi/common/include/linux/ratelimit.h
blob: 9585b4b994d77ce8e7ece6f97a720e1a6b3dae90 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* Public domain. */

#ifndef _LINUXKPI_LINUX_RATELIMIT_H
#define _LINUXKPI_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