Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F149095318
D34844.id104784.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
498 B
Referenced Files
None
Subscribers
None
D34844.id104784.diff
View Options
diff --git a/sys/compat/linuxkpi/common/include/linux/kernel.h b/sys/compat/linuxkpi/common/include/linux/kernel.h
--- a/sys/compat/linuxkpi/common/include/linux/kernel.h
+++ b/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, Mar 23, 6:38 AM (2 m, 40 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30167738
Default Alt Text
D34844.id104784.diff (498 B)
Attached To
Mode
D34844: LinuxKPI: add ALIGN_DOWN()
Attached
Detach File
Event Timeline
Log In to Comment