Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153376249
D55740.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
571 B
Referenced Files
None
Subscribers
None
D55740.diff
View Options
diff --git a/sys/compat/linuxkpi/common/include/linux/sizes.h b/sys/compat/linuxkpi/common/include/linux/sizes.h
--- a/sys/compat/linuxkpi/common/include/linux/sizes.h
+++ b/sys/compat/linuxkpi/common/include/linux/sizes.h
@@ -29,6 +29,17 @@
#ifndef _LINUXKPI_LINUX_SIZES_H_
#define _LINUXKPI_LINUX_SIZES_H_
+#define SZ_1 1
+#define SZ_2 2
+#define SZ_4 4
+#define SZ_8 8
+#define SZ_16 16
+#define SZ_32 32
+#define SZ_64 64
+#define SZ_128 128
+#define SZ_256 256
+#define SZ_512 512
+
#define SZ_1K (1024 * 1)
#define SZ_2K (1024 * 2)
#define SZ_4K (1024 * 4)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Apr 21, 7:25 PM (5 h, 49 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29446030
Default Alt Text
D55740.diff (571 B)
Attached To
Mode
D55740: linuxkpi: Define missing `SZ_*` below 1 kib
Attached
Detach File
Event Timeline
Log In to Comment