summaryrefslogtreecommitdiffstats
path: root/sys/mips
diff options
context:
space:
mode:
authorsgalabov <sgalabov@FreeBSD.org>2016-04-15 15:44:02 +0000
committersgalabov <sgalabov@FreeBSD.org>2016-04-15 15:44:02 +0000
commit91e2bbf72d4ee4e9b02431f1388d6287ba39388e (patch)
tree97248f5eb1570a7a98ee05b6100d3b33a2115a61 /sys/mips
parentfa35c4ff94cac3ee0d58367d2661cce5a97576e8 (diff)
downloadFreeBSD-src-91e2bbf72d4ee4e9b02431f1388d6287ba39388e.zip
FreeBSD-src-91e2bbf72d4ee4e9b02431f1388d6287ba39388e.tar.gz
Make NIRQ configurable for MIPS
Submitted by: kan Reviewed by: kan Approved by: adrian (mentor) Differential Revision: https://reviews.freebsd.org/D5964
Diffstat (limited to 'sys/mips')
-rw-r--r--sys/mips/include/intr.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/mips/include/intr.h b/sys/mips/include/intr.h
index 28f798f..e7258fe 100644
--- a/sys/mips/include/intr.h
+++ b/sys/mips/include/intr.h
@@ -47,8 +47,12 @@
#include <sys/intr.h>
-#ifndef NIRQ
-#define NIRQ 128
+#ifndef MIPS_NIRQ
+#define MIPS_NIRQ 128
+#endif
+
+#ifndef NIRQ
+#define NIRQ MIPS_NIRQ
#endif
#define INTR_IRQ_NSPC_SWI 4
OpenPOWER on IntegriCloud