Module Name: src
Committed By: snj
Date: Sun Feb 8 22:18:30 UTC 2015
Modified Files:
src/sys/arch/xen/x86 [netbsd-7]: xen_ipi.c
Log Message:
Pull up following revision(s) (requested by joerg in ticket #498):
sys/arch/xen/x86/xen_ipi.c: revision 1.19
valid_ipimask is only used under DIAGNOSTIC, so only define it then.
To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.18.2.1 src/sys/arch/xen/x86/xen_ipi.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/x86/xen_ipi.c
diff -u src/sys/arch/xen/x86/xen_ipi.c:1.18 src/sys/arch/xen/x86/xen_ipi.c:1.18.2.1
--- src/sys/arch/xen/x86/xen_ipi.c:1.18 Mon May 19 22:47:54 2014
+++ src/sys/arch/xen/x86/xen_ipi.c Sun Feb 8 22:18:30 2015
@@ -1,4 +1,4 @@
-/* $NetBSD: xen_ipi.c,v 1.18 2014/05/19 22:47:54 rmind Exp $ */
+/* $NetBSD: xen_ipi.c,v 1.18.2.1 2015/02/08 22:18:30 snj Exp $ */
/*-
* Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -33,10 +33,10 @@
/*
* Based on: x86/ipi.c
- * __KERNEL_RCSID(0, "$NetBSD: xen_ipi.c,v 1.18 2014/05/19 22:47:54 rmind Exp $");
+ * __KERNEL_RCSID(0, "$NetBSD: xen_ipi.c,v 1.18.2.1 2015/02/08 22:18:30 snj Exp $");
*/
-__KERNEL_RCSID(0, "$NetBSD: xen_ipi.c,v 1.18 2014/05/19 22:47:54 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: xen_ipi.c,v 1.18.2.1 2015/02/08 22:18:30 snj Exp $");
#include <sys/types.h>
@@ -131,6 +131,7 @@ xen_ipi_init(void)
hypervisor_enable_event(evtchn);
}
+#ifdef DIAGNOSTIC
static inline bool /* helper */
valid_ipimask(uint32_t ipimask)
{
@@ -145,6 +146,7 @@ valid_ipimask(uint32_t ipimask)
}
}
+#endif
int
xen_send_ipi(struct cpu_info *ci, uint32_t ipimask)