Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Nov 2024 01:25:32 GMT
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 9b2705121ba2 - main - LinuxKPI: lockdep fix #includes
Message-ID:  <202411020125.4A21PWNq008245@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by bz:

URL: https://cgit.FreeBSD.org/src/commit/?id=9b2705121ba230bf71a1509cc928f0481dfbf31c

commit 9b2705121ba230bf71a1509cc928f0481dfbf31c
Author:     Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2024-11-02 01:21:52 +0000
Commit:     Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2024-11-02 01:24:42 +0000

    LinuxKPI:  lockdep fix #includes
    
    Add sys/sytm.h for __diagused which unbreaks compilation of
    drm-kmod 5.10-lts on main.
    
    Sponsored by:   The FreeBSD Foundation
    Reported by:    Evgenii Khramtsov
    PR:             282479
    Fixes:          5c92f84bb607
    MFC after:      3 days
---
 sys/compat/linuxkpi/common/include/linux/lockdep.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/compat/linuxkpi/common/include/linux/lockdep.h b/sys/compat/linuxkpi/common/include/linux/lockdep.h
index 70a4e45867fe..93fe445f7057 100644
--- a/sys/compat/linuxkpi/common/include/linux/lockdep.h
+++ b/sys/compat/linuxkpi/common/include/linux/lockdep.h
@@ -30,6 +30,7 @@
 #ifndef _LINUXKPI_LINUX_LOCKDEP_H_
 #define	_LINUXKPI_LINUX_LOCKDEP_H_
 
+#include <sys/systm.h>
 #include <sys/types.h>
 #include <sys/lock.h>
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202411020125.4A21PWNq008245>