Ian FREISLICH
2018-03-28 15:11:34 UTC
Hi
(As noted by Oliver Hartman in svn-src-all@)
r331650 breaks amd64 kernel build as follows:
--- machdep.o ---
/usr/src/sys/amd64/amd64/machdep.c:520:20: error: use of undeclared identifier
'T_PROTFLT' ksi.ksi_trapno = T_PROTFLT;
^
The fix:
Index: sys/amd64/amd64/machdep.c
===================================================================
--- sys/amd64/amd64/machdep.c (revision 331680)
+++ sys/amd64/amd64/machdep.c (working copy)
@@ -128,6 +128,7 @@
#include <machine/sigframe.h>
#include <machine/specialreg.h>
#include <machine/tss.h>
+#include <machine/trap.h>
#ifdef SMP
#include <machine/smp.h>
#endif
Ian
--
(As noted by Oliver Hartman in svn-src-all@)
r331650 breaks amd64 kernel build as follows:
--- machdep.o ---
/usr/src/sys/amd64/amd64/machdep.c:520:20: error: use of undeclared identifier
'T_PROTFLT' ksi.ksi_trapno = T_PROTFLT;
^
The fix:
Index: sys/amd64/amd64/machdep.c
===================================================================
--- sys/amd64/amd64/machdep.c (revision 331680)
+++ sys/amd64/amd64/machdep.c (working copy)
@@ -128,6 +128,7 @@
#include <machine/sigframe.h>
#include <machine/specialreg.h>
#include <machine/tss.h>
+#include <machine/trap.h>
#ifdef SMP
#include <machine/smp.h>
#endif
Ian
--