r331650 breaks amd64 kernel build

From: Ian FREISLICH <ian.freislich_at_capeaugusta.com>
Date: Wed, 28 Mar 2018 11:11:34 -0400
Hi

(As noted by Oliver Hartman in svn-src-all_at_)

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)
_at__at_ -128,6 +128,7 _at__at_
 #include <machine/sigframe.h>
 #include <machine/specialreg.h>
 #include <machine/tss.h>
+#include <machine/trap.h>
 #ifdef SMP
 #include <machine/smp.h>
 #endif


Ian


-- 
Received on Wed Mar 28 2018 - 13:11:37 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:15 UTC