[Bug 279864] graphics/drm-61-kmod: doesn't compile on powerpc64

[email protected]
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279864

--- Comment #22 from [email protected] ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=1d18872c2519d7ca726ddc49735180ab1d8916e0

commit 1d18872c2519d7ca726ddc49735180ab1d8916e0
Author:     Bjoern A. Zeeb <[email protected]>
AuthorDate: 2026-03-19 20:29:29 +0000
Commit:     Bjoern A. Zeeb <[email protected]>
CommitDate: 2026-03-21 21:16:43 +0000

    LinuxKPI: add supporting #includes

    Compiling drm-kmod on !X86 does not include asm/smp.h which includes
    preempt.h on FreeBSD.  In order to compile drm-kmod on other
    architectures add the secondary #includes for preempt.h to
    spinlock.h and hardirq.h (which now also gets included from highmem.h)
    to connect the #include chain.

    Sponsored by:   The FreeBSD Foundation
    MFC after:      3 days
    PR:             279864
    Reviewed by:    jhibbits, emaste
    Differential Revision: https://reviews.freebsd.org/D55974

 sys/compat/linuxkpi/common/include/linux/hardirq.h  | 1 +
 sys/compat/linuxkpi/common/include/linux/highmem.h  | 1 +
 sys/compat/linuxkpi/common/include/linux/spinlock.h | 1 +
 3 files changed, 3 insertions(+)

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.