r331650 breaks amd64 kernel build

Ian FREISLICH ian.freislich at capeaugusta.com
Wed Mar 28 15:11:37 UTC 2018


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


-- 



More information about the freebsd-current mailing list