Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F145597989
D54807.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
410 B
Referenced Files
None
Subscribers
None
D54807.diff
View Options
diff --git a/sys/compat/linuxkpi/common/include/linux/minmax.h b/sys/compat/linuxkpi/common/include/linux/minmax.h
--- a/sys/compat/linuxkpi/common/include/linux/minmax.h
+++ b/sys/compat/linuxkpi/common/include/linux/minmax.h
@@ -71,4 +71,7 @@
b = _swap_tmp; \
} while (0)
+/* XXX would have to make sure both are unsigned. */
+#define umin(x, y) MIN(x, y)
+
#endif /* _LINUXKPI_LINUX_MINMAX_H_ */
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Feb 23, 12:08 AM (5 h, 44 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27822833
Default Alt Text
D54807.diff (410 B)
Attached To
Mode
D54807: LinuxKPI: add umin()
Attached
Detach File
Event Timeline
Log In to Comment