Source-Changes-HG archive

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

[src/trunk]: src/sys Remove unused macro.



details:   https://anonhg.NetBSD.org/src/rev/195de98c7740
branches:  trunk
changeset: 320524:195de98c7740
user:      maya <maya%NetBSD.org@localhost>
date:      Tue Jul 10 19:55:05 2018 +0000

description:
Remove unused macro.

diffstat:

 sys/arch/amd64/conf/ALL    |  5 ++---
 sys/arch/i386/conf/ALL     |  5 ++---
 sys/arch/i386/conf/GENERIC |  5 ++---
 sys/dev/apm/files.apm      |  4 ++--
 sys/sys/lock.h             |  4 +---
 5 files changed, 9 insertions(+), 14 deletions(-)

diffs (112 lines):

diff -r a882bb5ca43c -r 195de98c7740 sys/arch/amd64/conf/ALL
--- a/sys/arch/amd64/conf/ALL   Tue Jul 10 19:30:37 2018 +0000
+++ b/sys/arch/amd64/conf/ALL   Tue Jul 10 19:55:05 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: ALL,v 1.91 2018/07/10 17:01:43 maya Exp $
+# $NetBSD: ALL,v 1.92 2018/07/10 19:58:13 maya Exp $
 # From NetBSD: GENERIC,v 1.787 2006/10/01 18:37:54 bouyer Exp
 #
 # ALL machine description file
@@ -17,7 +17,7 @@
 
 options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident         "ALL-$Revision: 1.91 $"
+#ident         "ALL-$Revision: 1.92 $"
 
 maxusers       64              # estimated number of users
 
@@ -319,7 +319,6 @@
 #options       APM_V10_ONLY            # Use only the APM 1.0 calls
 #options       APM_NO_POWEROFF         # Don't power off on halt(8)
 #options       APM_POWER_PRINT         # Print stats on the console
-#options       APM_DISABLE_INTERRUPTS=0 # Don't disable interrupts
 
 
 # Basic Bus Support
diff -r a882bb5ca43c -r 195de98c7740 sys/arch/i386/conf/ALL
--- a/sys/arch/i386/conf/ALL    Tue Jul 10 19:30:37 2018 +0000
+++ b/sys/arch/i386/conf/ALL    Tue Jul 10 19:55:05 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: ALL,v 1.441 2018/07/10 17:01:43 maya Exp $
+# $NetBSD: ALL,v 1.442 2018/07/10 19:58:13 maya Exp $
 # From NetBSD: GENERIC,v 1.787 2006/10/01 18:37:54 bouyer Exp
 #
 # ALL machine description file
@@ -17,7 +17,7 @@
 
 options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident         "ALL-$Revision: 1.441 $"
+#ident         "ALL-$Revision: 1.442 $"
 
 maxusers       64              # estimated number of users
 
@@ -319,7 +319,6 @@
 #options       APM_V10_ONLY            # Use only the APM 1.0 calls
 #options       APM_NO_POWEROFF         # Don't power off on halt(8)
 #options       APM_POWER_PRINT         # Print stats on the console
-#options       APM_DISABLE_INTERRUPTS=0 # Don't disable interrupts
 
 
 # Basic Bus Support
diff -r a882bb5ca43c -r 195de98c7740 sys/arch/i386/conf/GENERIC
--- a/sys/arch/i386/conf/GENERIC        Tue Jul 10 19:30:37 2018 +0000
+++ b/sys/arch/i386/conf/GENERIC        Tue Jul 10 19:55:05 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.1181 2018/07/10 17:01:43 maya Exp $
+# $NetBSD: GENERIC,v 1.1182 2018/07/10 19:58:13 maya Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@
 
 options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident         "GENERIC-$Revision: 1.1181 $"
+#ident         "GENERIC-$Revision: 1.1182 $"
 
 maxusers       64              # estimated number of users
 
@@ -299,7 +299,6 @@
 #options       APM_V10_ONLY            # Use only the APM 1.0 calls
 #options       APM_NO_POWEROFF         # Don't power off on halt(8)
 #options       APM_POWER_PRINT         # Print stats on the console
-#options       APM_DISABLE_INTERRUPTS=0 # Don't disable interrupts
 
 
 # Basic Bus Support
diff -r a882bb5ca43c -r 195de98c7740 sys/dev/apm/files.apm
--- a/sys/dev/apm/files.apm     Tue Jul 10 19:30:37 2018 +0000
+++ b/sys/dev/apm/files.apm     Tue Jul 10 19:55:05 2018 +0000
@@ -1,10 +1,10 @@
-# $NetBSD: files.apm,v 1.4 2012/09/30 21:36:20 dsl Exp $
+# $NetBSD: files.apm,v 1.5 2018/07/10 19:58:13 maya Exp $
 
 #
 # Common APM support files
 #
 defflag        opt_apm.h       APM_V10_ONLY APM_NO_V12 APMDEBUG
                        APM_POWER_PRINT
-defparam opt_apm.h     APMDEBUG_VALUE APM_DISABLE_INTERRUPTS
+defparam opt_apm.h     APMDEBUG_VALUE
 device apm
 file   dev/apm/apm.c           apm
diff -r a882bb5ca43c -r 195de98c7740 sys/sys/lock.h
--- a/sys/sys/lock.h    Tue Jul 10 19:30:37 2018 +0000
+++ b/sys/sys/lock.h    Tue Jul 10 19:55:05 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: lock.h,v 1.86 2010/07/01 13:00:57 hannken Exp $        */
+/*     $NetBSD: lock.h,v 1.87 2018/07/10 19:55:05 maya Exp $   */
 
 /*-
  * Copyright (c) 1999, 2000, 2006, 2007 The NetBSD Foundation, Inc.
@@ -101,8 +101,6 @@
                (count) += (count);                             \
 } while (/* CONSTCOND */ 0);
 
-#define        SPINLOCK_RUN_HOOK(count)        ((count) >= SPINLOCK_BACKOFF_MAX)
-
 #ifdef LOCKDEBUG
 #define        SPINLOCK_SPINOUT(spins)         ((spins)++ > 0x0fffffff)
 #else



Home | Main Index | Thread Index | Old Index