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)
Thu, Jul 23, 2:43 AM
Unknown Object (File)
Mon, Jul 20, 11:15 PM
Unknown Object (File)
Mon, Jul 20, 3:08 PM
Unknown Object (File)
Mon, Jul 20, 12:05 PM
Unknown Object (File)
Mon, Jul 20, 12:04 PM
Unknown Object (File)
Mon, Jul 20, 2:18 AM
Unknown Object (File)
Wed, Jul 15, 7:19 AM
Unknown Object (File)
Wed, Jul 15, 7:19 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