git: 059136a95aca - main - LinuxKPI: add cleanup.h to mutex.h
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 24 Apr 2025 22:14:35 UTC
The branch main has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=059136a95aca2e550b62ef40ab25a184d8141124 commit 059136a95aca2e550b62ef40ab25a184d8141124 Author: Bjoern A. Zeeb <bz@FreeBSD.org> AuthorDate: 2025-04-24 09:58:13 +0000 Commit: Bjoern A. Zeeb <bz@FreeBSD.org> CommitDate: 2025-04-24 22:13:54 +0000 LinuxKPI: add cleanup.h to mutex.h Some code relies on header pollution (or self-sustainability). Add cleanup.h to mutex.h as that is one case it seems to be used with. Sponsored by: The FreeBSD Foundation MFC after: 3 days Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D50001 --- sys/compat/linuxkpi/common/include/linux/mutex.h | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/compat/linuxkpi/common/include/linux/mutex.h b/sys/compat/linuxkpi/common/include/linux/mutex.h index 1d85ba20baca..6fb6a7744a89 100644 --- a/sys/compat/linuxkpi/common/include/linux/mutex.h +++ b/sys/compat/linuxkpi/common/include/linux/mutex.h @@ -35,6 +35,7 @@ #include <sys/sx.h> #include <linux/kernel.h> +#include <linux/cleanup.h> #include <linux/list.h> #include <linux/spinlock.h> #include <asm/atomic.h>