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 Stub disable_irq, enable...



details:   https://anonhg.NetBSD.org/src/rev/53054c1224ac
branches:  trunk
changeset: 1027970:53054c1224ac
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 01:23:16 2021 +0000

description:
Stub disable_irq, enable_irq.

diffstat:

 sys/external/bsd/drm2/include/linux/interrupt.h |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 16ae312b7f05 -r 53054c1224ac sys/external/bsd/drm2/include/linux/interrupt.h
--- a/sys/external/bsd/drm2/include/linux/interrupt.h   Sun Dec 19 01:23:09 2021 +0000
+++ b/sys/external/bsd/drm2/include/linux/interrupt.h   Sun Dec 19 01:23:16 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: interrupt.h,v 1.6 2021/12/19 01:18:52 riastradh Exp $  */
+/*     $NetBSD: interrupt.h,v 1.7 2021/12/19 01:23:16 riastradh Exp $  */
 
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -40,4 +40,10 @@
 
 #define        in_interrupt()  (cpu_intr_p() || cpu_softintr_p())
 
+#define        disable_irq             linux_disable_irq
+#define        enable_irq              linux_enable_irq
+
+void   disable_irq(int);
+void   enable_irq(int);
+
 #endif  /* _LINUX_INTERRUPT_H_ */



Home | Main Index | Thread Index | Old Index