git: 9b2705121ba2 - main - LinuxKPI: lockdep fix #includes

From: Bjoern A. Zeeb <bz_at_FreeBSD.org>
Date: Sat, 02 Nov 2024 01:25:32 UTC
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>