HomeFreeBSD

linuxkpi: Correct DIV_ROUND_DOWN_ULL

Description

linuxkpi: Correct DIV_ROUND_DOWN_ULL

This fixes a black screen issue with the i915 DRM driver from Linux v6.8

Fixes: c4e0746e7d5bd ("LinuxKPI: Add helper macros IS_ALIGNED and DIV_ROUND_DOWN_ULL.")
Pull request: https://github.com/freebsd/freebsd-src/pull/1612

(cherry picked from commit ef037a028af7cc331e36ca6c8e2eb5612cdb1130)

Details

Provenance
Lutz Bichler <Lutz.Bichler@gmail.com>Authored on Wed, Mar 12, 5:20 PM
emasteCommitted on Tue, Mar 18, 1:27 PM
Parents
rG235fe911df59: include: add a userland version of __assert_unreachable
Branches
Unknown
Tags
Unknown

Event Timeline