Page MenuHomeFreeBSD

D33560.diff
No OneTemporary

D33560.diff

diff --git a/sys/compat/linuxkpi/common/include/linux/ratelimit.h b/sys/compat/linuxkpi/common/include/linux/ratelimit.h
new file mode 100644
--- /dev/null
+++ b/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

File Metadata

Mime Type
text/plain
Expires
Tue, Nov 5, 4:24 PM (10 h, 41 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14469895
Default Alt Text
D33560.diff (543 B)

Event Timeline