]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
linuxkpi: math.h: Add mul_u64_u32_div and mul_u64_u32_shr
authorEmmanuel Vadot <manu@FreeBSD.org>
Tue, 26 Jul 2022 08:06:56 +0000 (10:06 +0200)
committerEmmanuel Vadot <manu@FreeBSD.org>
Mon, 8 Aug 2022 13:22:34 +0000 (15:22 +0200)
commit885ab0dba28b799c5c70923c2cb0ee162b5b75b1
tree225bc5713c62e6d750f0d0ab7b674da2b5fcb9f6
parent6be89cc88d63263b51bfb0271e2119cccbc86f16
linuxkpi: math.h: Add mul_u64_u32_div and mul_u64_u32_shr

Needed by drm-kmod.

Reviewed by: hselasky
Obtained from: OpenBSD
Sponsored by: Beckhoff Automation GmbH & Co. KG
Differential Revision: https://reviews.freebsd.org/D35937
sys/compat/linuxkpi/common/include/linux/math64.h