Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch unidef -U_LKM
details: https://anonhg.NetBSD.org/src/rev/0641cabe71fd
branches: trunk
changeset: 936268:0641cabe71fd
user: skrll <skrll%NetBSD.org@localhost>
date: Thu Jul 23 19:04:03 2020 +0000
description:
unidef -U_LKM
diffstat:
sys/arch/evbarm/include/intr.h | 12 +-----------
sys/arch/hpcarm/include/intr.h | 12 +-----------
2 files changed, 2 insertions(+), 22 deletions(-)
diffs (66 lines):
diff -r d1590086e838 -r 0641cabe71fd sys/arch/evbarm/include/intr.h
--- a/sys/arch/evbarm/include/intr.h Thu Jul 23 16:08:02 2020 +0000
+++ b/sys/arch/evbarm/include/intr.h Thu Jul 23 19:04:03 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: intr.h,v 1.26 2014/03/13 23:48:38 matt Exp $ */
+/* $NetBSD: intr.h,v 1.27 2020/07/23 19:04:03 skrll Exp $ */
/*
* Copyright (c) 2001, 2003 Wasabi Systems, Inc.
@@ -71,14 +71,6 @@
#include <sys/queue.h>
-#if defined(_LKM)
-
-int _splraise(int);
-int _spllower(int);
-void splx(int);
-
-#else /* _LKM */
-
#include "opt_arm_intr_impl.h"
#if defined(ARM_INTR_IMPL)
@@ -122,8 +114,6 @@
#endif /* ARM_INTR_IMPL */
-#endif /* _LKM */
-
typedef uint8_t ipl_t;
typedef struct {
ipl_t _ipl;
diff -r d1590086e838 -r 0641cabe71fd sys/arch/hpcarm/include/intr.h
--- a/sys/arch/hpcarm/include/intr.h Thu Jul 23 16:08:02 2020 +0000
+++ b/sys/arch/hpcarm/include/intr.h Thu Jul 23 19:04:03 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: intr.h,v 1.19 2014/02/04 18:51:16 matt Exp $ */
+/* $NetBSD: intr.h,v 1.20 2020/07/23 19:04:03 skrll Exp $ */
/*
* Copyright (c) 1997 Mark Brinicombe.
@@ -72,14 +72,6 @@
#include <sys/queue.h>
-#if defined(_LKM)
-
-int _splraise(int);
-int _spllower(int);
-void splx(int);
-
-#else /* _LKM */
-
#include "opt_arm_intr_impl.h"
#if defined(ARM_INTR_IMPL)
@@ -124,8 +116,6 @@
#endif /* ARM_INTR_IMPL */
-#endif /* _LKM */
-
#define splsoft() _splraise(IPL_SOFT)
typedef uint8_t ipl_t;
Home |
Main Index |
Thread Index |
Old Index