git: de5496958c86 - releng/14.2 - LinuxKPI: lockdep fix #includes

From: Bjoern A. Zeeb <bz_at_FreeBSD.org>
Date: Tue, 19 Nov 2024 00:38:41 UTC
The branch releng/14.2 has been updated by bz:

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

commit de5496958c8651fd62e9d65722ad36d322a59574
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-19 00:36:04 +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
    Approved by:    re (cperciva)
    
    (cherry picked from commit 9b2705121ba230bf71a1509cc928f0481dfbf31c)
    (cherry picked from commit 06733ceca677b2d8ea2ae738bbb624d510fc9df8)
---
 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>