Module Name: src
Committed By: kre
Date: Sat Jun 30 20:53:30 UTC 2018
Modified Files:
src/sys/arch/xen/xen: xen_machdep.c
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/xen/xen/xen_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/xen/xen/xen_machdep.c
diff -u src/sys/arch/xen/xen/xen_machdep.c:1.17 src/sys/arch/xen/xen/xen_machdep.c:1.18
--- src/sys/arch/xen/xen/xen_machdep.c:1.17 Sat Jun 30 14:55:13 2018
+++ src/sys/arch/xen/xen/xen_machdep.c Sat Jun 30 20:53:30 2018
@@ -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 @@ __KERNEL_RCSID(0, "$NetBSD: xen_machdep.
#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 @@ sysctl_xen_suspend(SYSCTLFN_ARGS)
}
-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