Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F101850032
D33560.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
543 B
Referenced Files
None
Subscribers
None
D33560.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D33560: LinuxKPI: Import linux/ratelimit.h
Attached
Detach File
Event Timeline
Log In to Comment