Discussion:
r331650 breaks amd64 kernel build
(too old to reply)
Ian FREISLICH
2018-03-28 15:11:34 UTC
Permalink
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


--
Ian FREISLICH
2018-03-28 19:09:36 UTC
Permalink
Post by Ian FREISLICH
Hi
--- machdep.o ---
/usr/src/sys/amd64/amd64/machdep.c:520:20: error: use of undeclared identifier
'T_PROTFLT' ksi.ksi_trapno = T_PROTFLT;
^
Appears fixed in r331681

Ian

--

Loading...