git: 06733ceca677 - stable/14 - LinuxKPI: lockdep fix #includes
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 14 Nov 2024 01:53:50 UTC
The branch stable/14 has been updated by bz:
URL: https://cgit.FreeBSD.org/src/commit/?id=06733ceca677b2d8ea2ae738bbb624d510fc9df8
commit 06733ceca677b2d8ea2ae738bbb624d510fc9df8
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-14 01:52:01 +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
(cherry picked from commit 9b2705121ba230bf71a1509cc928f0481dfbf31c)
---
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>