History log of /freebsd/sys/compat/linuxkpi/common/include/linux/math.h (Results 1 – 3 of 3)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# ef037a02 12-Mar-2025 Lutz Bichler <Lutz.Bichler@gmail.com>

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.")

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

show more ...


Revision tags: release/13.5.0, release/14.2.0-p2, release/14.1.0-p8, release/13.4.0-p4, release/14.1.0-p7, release/14.2.0-p1, release/13.4.0-p3, release/14.2.0, release/13.4.0
# afc450fa 06-Jun-2024 Vladimir Kondratyev <wulf@FreeBSD.org>

LinuxKPI: Add abs_diff to linux/math.h

It returns absolute value of the difference between the arguments.

Add LinuxKPI version check as the macro was moved from drm-kmod to
linux/math.h in Linux ke

LinuxKPI: Add abs_diff to linux/math.h

It returns absolute value of the difference between the arguments.

Add LinuxKPI version check as the macro was moved from drm-kmod to
linux/math.h in Linux kernel commit 46f12960aad (6.6 timeframe).

Sponsored by: Serenity Cyber Security, LLC
MFC after: 1 week
Reviewed by: bz, emaste
Differential Revision: https://reviews.freebsd.org/D45453

show more ...


# 588064e6 06-Jun-2024 Vladimir Kondratyev <wulf@FreeBSD.org>

LinuxKPI: Move linux/math.h content out of linux/kernel.h

To match Linux and allow direct linux/math.h inclusion.

Sponsored by: Serenity Cyber Security, LLC
MFC after: 1 week
Reviewed by: bz
Differ

LinuxKPI: Move linux/math.h content out of linux/kernel.h

To match Linux and allow direct linux/math.h inclusion.

Sponsored by: Serenity Cyber Security, LLC
MFC after: 1 week
Reviewed by: bz
Differential Revision: https://reviews.freebsd.org/D45452

show more ...