summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorskrll <skrll@NetBSD.org>2020-08-17 14:17:49 +0000
committerskrll <skrll@NetBSD.org>2020-08-17 14:17:49 +0000
commitf4bfa4dfcd1dca3a044a93352ff08f11cb7df43d (patch)
treeaf1bbf80af25a5938ca0eeb16e32440d4420035f /sys
parent6c2d78334c188c52acc62d894dd0eb7e30691182 (diff)
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 (limited to 'sys')
-rw-r--r--sys/arch/mips/include/intr.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/mips/include/intr.h b/sys/arch/mips/include/intr.h
index b170aac5f96..43dd94c8735 100644
--- a/sys/arch/mips/include/intr.h
+++ b/sys/arch/mips/include/intr.h
@@ -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 @@ typedef struct {
#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;