Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Mar 2018 11:11:34 -0400
From:      Ian FREISLICH <ian.freislich@capeaugusta.com>
To:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   r331650 breaks amd64 kernel build
Message-ID:  <6f91516c-55c5-6e86-61db-918d9bb83faa@capeaugusta.com>

next in thread | raw e-mail | index | archive | help
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


-- 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6f91516c-55c5-6e86-61db-918d9bb83faa>