]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
LinuxKPI: add ALIGN_DOWN()
authorBjoern A. Zeeb <bz@FreeBSD.org>
Fri, 8 Apr 2022 15:30:19 +0000 (15:30 +0000)
committerBjoern A. Zeeb <bz@FreeBSD.org>
Thu, 14 Apr 2022 16:38:16 +0000 (16:38 +0000)
commit94b9567f7568891c1ec1386e36054115ae1e82e6
tree0018dd34f0fd1611bb88d69e9e3c4ccba9dccd57
parent797188ba9a16a35d45a3c2f24c23164bd76341b1
LinuxKPI: add ALIGN_DOWN()

Add ALIGN_DOWN as rounddown2() along ALIGN() which is implemented as
roundup2().

Sponsored by: The FreeBSD Foundation
Reviewed by: manu, hselasky (now with less ())
Differential Revision: https://reviews.freebsd.org/D34844

(cherry picked from commit 97f2e93a66a804ae9b6187998dbc4427b647e274)
sys/compat/linuxkpi/common/include/linux/kernel.h