Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/evbarm/include Don't remove the _LKM #ifdefs, but d...
details: https://anonhg.NetBSD.org/src/rev/ad1ebf4e03d8
branches: trunk
changeset: 936451:ad1ebf4e03d8
user: skrll <skrll%NetBSD.org@localhost>
date: Mon Jul 27 10:37:58 2020 +0000
description:
Don't remove the _LKM #ifdefs, but do s/_LKM/_MODULE/
diffstat:
sys/arch/evbarm/include/intr.h | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
diffs (33 lines):
diff -r 9fb7fae7102f -r ad1ebf4e03d8 sys/arch/evbarm/include/intr.h
--- a/sys/arch/evbarm/include/intr.h Mon Jul 27 08:26:09 2020 +0000
+++ b/sys/arch/evbarm/include/intr.h Mon Jul 27 10:37:58 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: intr.h,v 1.27 2020/07/23 19:04:03 skrll Exp $ */
+/* $NetBSD: intr.h,v 1.28 2020/07/27 10:37:58 skrll Exp $ */
/*
* Copyright (c) 2001, 2003 Wasabi Systems, Inc.
@@ -71,6 +71,14 @@
#include <sys/queue.h>
+#if defined(_MODULE)
+
+int _splraise(int);
+int _spllower(int);
+void splx(int);
+
+#else /* _MODULE */
+
#include "opt_arm_intr_impl.h"
#if defined(ARM_INTR_IMPL)
@@ -114,6 +122,8 @@
#endif /* ARM_INTR_IMPL */
+#endif /* _MODULE */
+
typedef uint8_t ipl_t;
typedef struct {
ipl_t _ipl;
Home |
Main Index |
Thread Index |
Old Index