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, Sep 10, 6:58 AM
Unknown Object (File)
Tue, Sep 8, 11:45 AM
Unknown Object (File)
Sun, Sep 6, 9:01 AM
Unknown Object (File)
Sun, Sep 6, 8:15 AM
Unknown Object (File)
Sat, Sep 5, 3:38 PM
Unknown Object (File)
Sat, Sep 5, 8:39 AM
Unknown Object (File)
Sat, Sep 5, 3:31 AM
Unknown Object (File)
Fri, Sep 4, 3:43 PM
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