Page MenuHomeFreeBSD

linuxkpi: Define `DIV_U64_ROUND_UP()`
ClosedPublic

Authored by dumbbell on Apr 22 2026, 8:20 AM.
Tags
None
Referenced Files
F175029126: D56576.id176139.diff
Wed, Oct 7, 6:20 PM
Unknown Object (File)
Thu, Oct 1, 8:02 PM
Unknown Object (File)
Wed, Sep 30, 7:32 PM
Unknown Object (File)
Wed, Sep 30, 8:26 AM
Unknown Object (File)
Mon, Sep 28, 7:04 PM
Unknown Object (File)
Sun, Sep 27, 9:14 PM
Unknown Object (File)
Fri, Sep 25, 2:06 AM
Unknown Object (File)
Thu, Sep 17, 4:56 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