Author: sgalabov Date: Fri Apr 15 15:44:02 2016 New Revision: 298065 URL: https://svnweb.freebsd.org/changeset/base/298065
Log: Make NIRQ configurable for MIPS Submitted by: kan Reviewed by: kan Approved by: adrian (mentor) Differential Revision: https://reviews.freebsd.org/D5964 Modified: head/sys/conf/options.mips head/sys/mips/include/intr.h Modified: head/sys/conf/options.mips ============================================================================== --- head/sys/conf/options.mips Fri Apr 15 15:42:35 2016 (r298064) +++ head/sys/conf/options.mips Fri Apr 15 15:44:02 2016 (r298065) @@ -145,3 +145,4 @@ PV_STATS opt_pmap.h # Options to use INTRNG code # MIPS_INTRNG opt_global.h +MIPS_NIRQ opt_global.h Modified: head/sys/mips/include/intr.h ============================================================================== --- head/sys/mips/include/intr.h Fri Apr 15 15:42:35 2016 (r298064) +++ head/sys/mips/include/intr.h Fri Apr 15 15:44:02 2016 (r298065) @@ -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 _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"