Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/xen/xen Build fix bandaid.



details:   https://anonhg.NetBSD.org/src/rev/0950195534ed
branches:  trunk
changeset: 991174:0950195534ed
user:      kre <kre%NetBSD.org@localhost>
date:      Sat Jun 30 20:53:30 2018 +0000

description:
Build fix bandaid.

This allows the builds including XEN to complete, but XEN kernels
built from these sources (at least, DomU) do not boot successfully.

diffstat:

 sys/arch/xen/xen/xen_machdep.c |  9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diffs (37 lines):

diff -r bbc16f115cf4 -r 0950195534ed sys/arch/xen/xen/xen_machdep.c
--- a/sys/arch/xen/xen/xen_machdep.c    Sat Jun 30 20:34:43 2018 +0000
+++ b/sys/arch/xen/xen/xen_machdep.c    Sat Jun 30 20:53:30 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: xen_machdep.c,v 1.17 2018/06/30 14:55:13 riastradh Exp $       */
+/*     $NetBSD: xen_machdep.c,v 1.18 2018/06/30 20:53:30 kre Exp $     */
 
 /*
  * Copyright (c) 2006 Manuel Bouyer.
@@ -53,7 +53,7 @@
 
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: xen_machdep.c,v 1.17 2018/06/30 14:55:13 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: xen_machdep.c,v 1.18 2018/06/30 20:53:30 kre Exp $");
 
 #include "opt_xen.h"
 
@@ -65,6 +65,7 @@
 #include <sys/timetc.h>
 #include <sys/sysctl.h>
 #include <sys/pmf.h>
+#include <sys/xcall.h>
 
 #include <xen/hypervisor.h>
 #include <xen/shutdown_xenbus.h>
@@ -279,8 +280,8 @@
 
 }
 
-static xcfunc_t xen_suspendclocks_xc;
-static xcfunc_t xen_resumeclocks_xc;
+static void xen_suspendclocks_xc(void *, void*);
+static void xen_resumeclocks_xc(void *, void*);
 
 /*
  * Last operations before suspending domain



Home | Main Index | Thread Index | Old Index