Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177608198
D34844.1794831159.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
507 B
Referenced Files
None
Subscribers
None
D34844.1794831159.diff
View Options
Index: sys/compat/linuxkpi/common/include/linux/kernel.h
===================================================================
--- sys/compat/linuxkpi/common/include/linux/kernel.h
+++ sys/compat/linuxkpi/common/include/linux/kernel.h
@@ -150,6 +150,7 @@
#undef ALIGN
#define ALIGN(x, y) roundup2((x), (y))
+#define ALIGN_DOWN(x, y) rounddown2((x), (y))
#undef PTR_ALIGN
#define PTR_ALIGN(p, a) ((__typeof(p))ALIGN((uintptr_t)(p), (a)))
#define IS_ALIGNED(x, a) (((x) & ((__typeof(x))(a) - 1)) == 0)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 16, 12:12 PM (15 h, 16 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41777120
Default Alt Text
D34844.1794831159.diff (507 B)
Attached To
Mode
D34844: LinuxKPI: add ALIGN_DOWN()
Attached
Detach File
Event Timeline