From f4bfa4dfcd1dca3a044a93352ff08f11cb7df43d Mon Sep 17 00:00:00 2001 From: skrll Date: Mon, 17 Aug 2020 14:17:49 +0000 Subject: 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 --- sys/arch/mips/include/intr.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sys') 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; -- cgit