Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/x86/x86 Change module path to xen-* only for XENPV



details:   https://anonhg.NetBSD.org/src/rev/96c247bca243
branches:  trunk
changeset: 931832:96c247bca243
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Thu Apr 30 22:09:32 2020 +0000

description:
Change module path to xen-* only for XENPV

diffstat:

 sys/arch/x86/x86/x86_machdep.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r d65b94f9f2a8 -r 96c247bca243 sys/arch/x86/x86/x86_machdep.c
--- a/sys/arch/x86/x86/x86_machdep.c    Thu Apr 30 22:05:17 2020 +0000
+++ b/sys/arch/x86/x86/x86_machdep.c    Thu Apr 30 22:09:32 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: x86_machdep.c,v 1.138 2020/04/25 15:26:18 bouyer Exp $ */
+/*     $NetBSD: x86_machdep.c,v 1.139 2020/04/30 22:09:32 bouyer Exp $ */
 
 /*-
  * Copyright (c) 2002, 2006, 2007 YAMAMOTO Takashi,
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: x86_machdep.c,v 1.138 2020/04/25 15:26:18 bouyer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: x86_machdep.c,v 1.139 2020/04/30 22:09:32 bouyer Exp $");
 
 #include "opt_modular.h"
 #include "opt_physmem.h"
@@ -95,7 +95,7 @@
 static bool x86_cpu_idle_ipi;
 static char x86_cpu_idle_text[16];
 
-#ifdef XEN
+#ifdef XENPV
 char module_machine_amd64_xen[] = "amd64-xen";
 char module_machine_i386pae_xen[] = "i386pae-xen";
 #endif
@@ -222,7 +222,7 @@
        struct bi_modulelist_entry *bi, *bimax;
 
        /* setup module path for XEN kernels */
-#ifdef XEN
+#ifdef XENPV
 #ifdef __x86_64__
        module_machine = module_machine_amd64_xen;
 #else



Home | Main Index | Thread Index | Old Index