Module Name: src
Committed By: matt
Date: Wed Dec 22 06:09:02 UTC 2010
Modified Files:
src/sys/arch/mips/include [matt-nb5-mips64]: intr.h
Log Message:
Cleanup definition of __HAVE_PREEMPTION
To generate a diff of this commit:
cvs rdiff -u -r1.3.96.13 -r1.3.96.14 src/sys/arch/mips/include/intr.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/mips/include/intr.h
diff -u src/sys/arch/mips/include/intr.h:1.3.96.13 src/sys/arch/mips/include/intr.h:1.3.96.14
--- src/sys/arch/mips/include/intr.h:1.3.96.13 Wed Jun 9 14:24:12 2010
+++ src/sys/arch/mips/include/intr.h Wed Dec 22 06:09:02 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: intr.h,v 1.3.96.13 2010/06/09 14:24:12 matt Exp $ */
+/* $NetBSD: intr.h,v 1.3.96.14 2010/12/22 06:09:02 matt Exp $ */
/*-
* Copyright (c) 2009, 2010 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -98,8 +98,9 @@
} ipl_cookie_t;
#ifdef _KERNEL
-#ifdef MULTIPROCESSOR
-#define __HAVE_PREEMPTION
+
+#if defined(MULTIPROCESSOR) && defined(__HAVE_FAST_SOFTINTS)
+#define __HAVE_PREEMPTION 1
#define SOFTINT_KPREEMPT (SOFTINT_COUNT+0)
#endif