Some bits of code in trap() regarding the handling of T_NMI were not
compiled in due to NISA not being defined.
While I'm here, put some more code in "#if NISA > 0", like it is for
i386.
* x86_64 Trap and System call handling
*/
+#include "use_isa.h"
+
#include "opt_ddb.h"
#include "opt_ktrace.h"
i = SIGFPE;
break;
+#if NISA > 0
case T_NMI:
MAKEMPSAFE(have_mplock);
/* machine/parity/power fail/"kitchen sink" faults */
} else if (panic_on_nmi)
panic("NMI indicates hardware failure");
break;
+#endif /* NISA > 0 */
case T_OFLOW: /* integer overflow fault */
ucode = FPE_INTOVF;
#endif
break;
+#if NISA > 0
case T_NMI:
MAKEMPSAFE(have_mplock);
/* machine/parity/power fail/"kitchen sink" faults */
-#if NISA > 0
if (isa_nmi(code) == 0) {
#ifdef DDB
/*