Module Name: src
Committed By: riastradh
Date: Sun Dec 19 11:22:23 UTC 2021
Modified Files:
src/sys/external/bsd/drm2/linux: linux_stop_machine.c
Log Message:
Provisionally work around cycle in x86 header files.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/external/bsd/drm2/linux/linux_stop_machine.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/external/bsd/drm2/linux/linux_stop_machine.c
diff -u src/sys/external/bsd/drm2/linux/linux_stop_machine.c:1.1 src/sys/external/bsd/drm2/linux/linux_stop_machine.c:1.2
--- src/sys/external/bsd/drm2/linux/linux_stop_machine.c:1.1 Sun Dec 19 01:34:57 2021
+++ src/sys/external/bsd/drm2/linux/linux_stop_machine.c Sun Dec 19 11:22:22 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_stop_machine.c,v 1.1 2021/12/19 01:34:57 riastradh Exp $ */
+/* $NetBSD: linux_stop_machine.c,v 1.2 2021/12/19 11:22:22 riastradh Exp $ */
/*-
* Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -30,7 +30,9 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_stop_machine.c,v 1.1 2021/12/19 01:34:57 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_stop_machine.c,v 1.2 2021/12/19 11:22:22 riastradh Exp $");
+
+#include <sys/mutex.h> /* XXX work around cycle x86/mutex.h<->x86/intr.h */
#include <sys/atomic.h>
#include <sys/intr.h>