Index: head/sys/conf/options.mips =================================================================== --- head/sys/conf/options.mips +++ head/sys/conf/options.mips @@ -145,3 +145,4 @@ # Options to use INTRNG code # MIPS_INTRNG opt_global.h +MIPS_NIRQ opt_global.h Index: head/sys/mips/include/intr.h =================================================================== --- head/sys/mips/include/intr.h +++ head/sys/mips/include/intr.h @@ -47,8 +47,12 @@ #include -#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