Page MenuHomeFreeBSD

linuxkpi: Define `DIV_U64_ROUND_UP()`
ClosedPublic

Authored by dumbbell on Apr 22 2026, 8:20 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Aug 8, 7:54 PM
Unknown Object (File)
Sat, Aug 8, 7:52 PM
Unknown Object (File)
Tue, Aug 4, 8:33 AM
Unknown Object (File)
Tue, Aug 4, 1:55 AM
Unknown Object (File)
Mon, Aug 3, 3:00 PM
Unknown Object (File)
Mon, Jul 27, 4:31 PM
Unknown Object (File)
Sat, Jul 25, 10:18 AM
Unknown Object (File)
Jul 23 2026, 2:43 AM
Subscribers

Details

Summary

It is the same as DIV64_U64_ROUND_UP() but takes a 32-bit integer as the divisor.

The amdgpu DRM driver started this in Linux 6.12.x.

This is part of the update of DRM drivers to Linux 6.12.81.

Sponsored by: The FreeBSD Foundation

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable