Hi,

trap.c has a "#if NISA > 0" at line 504.

But NISA is never defined, so the code in the #if clause never gets compiled in. This patch includes isa.h from the build directory in order to have the NISA definition.

regards,
chris



Index: sys/arch/i386/i386/trap.c
===================================================================
RCS file: /cvs/src/sys/arch/i386/i386/trap.c,v
retrieving revision 1.107
diff -u -r1.107 trap.c
--- sys/arch/i386/i386/trap.c   31 Dec 2012 06:44:11 -0000      1.107
+++ sys/arch/i386/i386/trap.c   8 Apr 2013 09:38:49 -0000
@@ -77,6 +77,7 @@
 #endif

 #include "npx.h"
+#include "isa.h"

 void trap(struct trapframe *);
 void syscall(struct trapframe *);

Reply via email to