Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mips/include Disable __HAVE_PREEMPTION. It is curr...



details:   https://anonhg.NetBSD.org/src/rev/7923e941e653
branches:  trunk
changeset: 942734:7923e941e653
user:      skrll <skrll%NetBSD.org@localhost>
date:      Mon Aug 17 14:17:49 2020 +0000

description:
Disable __HAVE_PREEMPTION.  It is currently marked

        #if defined(MULTIPROCESSOR) && defined(__HAVE_FAST_SOFTINTS)

but has no chance of working on OCTEON due to at least the spl functions

diffstat:

 sys/arch/mips/include/intr.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 396c0776a538 -r 7923e941e653 sys/arch/mips/include/intr.h
--- a/sys/arch/mips/include/intr.h      Mon Aug 17 09:03:03 2020 +0000
+++ b/sys/arch/mips/include/intr.h      Mon Aug 17 14:17:49 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: intr.h,v 1.11 2020/07/26 08:08:41 simonb Exp $ */
+/* $NetBSD: intr.h,v 1.12 2020/08/17 14:17:49 skrll Exp $ */
 
 /*-
  * Copyright (c) 2009, 2010 The NetBSD Foundation, Inc.
@@ -112,10 +112,12 @@
 
 #ifdef _KERNEL
 
+#if 0
 #if defined(MULTIPROCESSOR) && defined(__HAVE_FAST_SOFTINTS)
 #define        __HAVE_PREEMPTION       1
 #define        SOFTINT_KPREEMPT        (SOFTINT_COUNT+0)
 #endif
+#endif
 
 #ifdef __INTR_PRIVATE
 extern struct splsw    mips_splsw;



Home | Main Index | Thread Index | Old Index