Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/external/bsd/drm2/linux Provisionally work around cycle ...



details:   https://anonhg.NetBSD.org/src/rev/0c118c998cae
branches:  trunk
changeset: 1028581:0c118c998cae
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 11:22:22 2021 +0000

description:
Provisionally work around cycle in x86 header files.

diffstat:

 sys/external/bsd/drm2/linux/linux_stop_machine.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r e97533c028ed -r 0c118c998cae sys/external/bsd/drm2/linux/linux_stop_machine.c
--- a/sys/external/bsd/drm2/linux/linux_stop_machine.c  Sun Dec 19 11:22:15 2021 +0000
+++ b/sys/external/bsd/drm2/linux/linux_stop_machine.c  Sun Dec 19 11:22:22 2021 +0000
@@ -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>



Home | Main Index | Thread Index | Old Index