Page MenuHomeFreeBSD

D24849.diff
No OneTemporary

D24849.diff

Index: head/sys/compat/linuxkpi/common/include/linux/kernel.h
===================================================================
--- head/sys/compat/linuxkpi/common/include/linux/kernel.h
+++ head/sys/compat/linuxkpi/common/include/linux/kernel.h
@@ -462,6 +462,9 @@
type __max2 = (y); \
__max1 > __max2 ? __max1 : __max2; })
+#define offsetofend(t, m) \
+ (offsetof(t, m) + sizeof((((t *)0)->m)))
+
#define clamp_t(type, _x, min, max) min_t(type, max_t(type, _x, min), max)
#define clamp(x, lo, hi) min( max(x,lo), hi)
#define clamp_val(val, lo, hi) clamp_t(typeof(val), val, lo, hi)

File Metadata

Mime Type
text/plain
Expires
Wed, Nov 20, 11:28 AM (21 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14737166
Default Alt Text
D24849.diff (605 B)

Event Timeline