]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
LinuxKPI: bitfields add more *replace_bits()
authorBjoern A. Zeeb <bz@FreeBSD.org>
Sun, 9 Jan 2022 01:12:05 +0000 (01:12 +0000)
committerBjoern A. Zeeb <bz@FreeBSD.org>
Sun, 9 Jan 2022 14:39:19 +0000 (14:39 +0000)
commit2fb0569f1ff58209420ed9c5500476ad7d93e702
tree40f215d8f45bec822db1521889c11ef0ab393678
parentdeb9bfbd5bcea70c79f70c7091c35d399b40fb0a
LinuxKPI: bitfields add more *replace_bits()

Add or extend the already existing *_replace_bits() implementations
using macros as we do for the other parts in the file for
le<n>p_replace_bits(), u<n>p_replace_bits(), and _u<n>_replace_bits().

MFC after: 3 days
Reviewed by: hselasky
Differential Revision: https://reviews.freebsd.org/D33799
sys/compat/linuxkpi/common/include/linux/bitfield.h