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/include/linux Match linux which is sid...



details:   https://anonhg.NetBSD.org/src/rev/c380a6012113
branches:  trunk
changeset: 1028455:c380a6012113
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 11:05:27 2021 +0000

description:
Match linux which is side-loading

linux/irq_work.h->
asm/irq_work.h->
asm/cpufeature.h

Avoids errors on static_cpu_has


Author: Maya Rashish <maya%NetBSD.org@localhost>
Committer: Taylor R Campbell <riastradh%NetBSD.org@localhost>

diffstat:

 sys/external/bsd/drm2/include/linux/irq_work.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r e9378830b476 -r c380a6012113 sys/external/bsd/drm2/include/linux/irq_work.h
--- a/sys/external/bsd/drm2/include/linux/irq_work.h    Sun Dec 19 11:05:20 2021 +0000
+++ b/sys/external/bsd/drm2/include/linux/irq_work.h    Sun Dec 19 11:05:27 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: irq_work.h,v 1.2 2021/12/19 11:04:36 riastradh Exp $   */
+/*     $NetBSD: irq_work.h,v 1.3 2021/12/19 11:05:27 riastradh Exp $   */
 
 /*-
  * Copyright (c) 2020 The NetBSD Foundation, Inc.
@@ -31,6 +31,8 @@
 
 #include <sys/stdbool.h>
 
+#include <asm/cpufeature.h>
+
 /* namespace */
 #define        init_irq_work   linux_init_irq_work
 #define        irq_work_queue  linux_irq_work_queue



Home | Main Index | Thread Index | Old Index