Module Name: src
Committed By: pgoyette
Date: Sat Dec 28 00:38:08 UTC 2019
Modified Files:
src/sys/arch/x86/x86: x86_machdep.c
Log Message:
#include "opt_xen.h" so we can tell if we're in a XEN kernel. We need
to know this in order to set module_machine correctly, which in turn is
needed to set the module_base path from which modules are loaded and
which provides the value of sysctl(8) variable kern.module.path
Thanks to jnemeth@ for pointing out the problem.
To generate a diff of this commit:
cvs rdiff -u -r1.133 -r1.134 src/sys/arch/x86/x86/x86_machdep.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/x86/x86/x86_machdep.c
diff -u src/sys/arch/x86/x86/x86_machdep.c:1.133 src/sys/arch/x86/x86/x86_machdep.c:1.134
--- src/sys/arch/x86/x86/x86_machdep.c:1.133 Tue Dec 3 15:20:59 2019
+++ src/sys/arch/x86/x86/x86_machdep.c Sat Dec 28 00:38:08 2019
@@ -1,4 +1,4 @@
-/* $NetBSD: x86_machdep.c,v 1.133 2019/12/03 15:20:59 riastradh Exp $ */
+/* $NetBSD: x86_machdep.c,v 1.134 2019/12/28 00:38:08 pgoyette Exp $ */
/*-
* Copyright (c) 2002, 2006, 2007 YAMAMOTO Takashi,
@@ -31,13 +31,14 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: x86_machdep.c,v 1.133 2019/12/03 15:20:59 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: x86_machdep.c,v 1.134 2019/12/28 00:38:08 pgoyette Exp $");
#include "opt_modular.h"
#include "opt_physmem.h"
#include "opt_splash.h"
#include "opt_kaslr.h"
#include "opt_svs.h"
+#include "opt_xen.h"
#include <sys/types.h>
#include <sys/param.h>