Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/xen/x86 valid_ipimask is only used under DIAGNOSTIC...
details: https://anonhg.NetBSD.org/src/rev/a36e5931daeb
branches: trunk
changeset: 336037:a36e5931daeb
user: joerg <joerg%NetBSD.org@localhost>
date: Sat Feb 07 20:01:48 2015 +0000
description:
valid_ipimask is only used under DIAGNOSTIC, so only define it then.
diffstat:
sys/arch/xen/x86/xen_ipi.c | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diffs (38 lines):
diff -r fc9db2f05f70 -r a36e5931daeb sys/arch/xen/x86/xen_ipi.c
--- a/sys/arch/xen/x86/xen_ipi.c Sat Feb 07 19:36:42 2015 +0000
+++ b/sys/arch/xen/x86/xen_ipi.c Sat Feb 07 20:01:48 2015 +0000
@@ -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.19 2015/02/07 20:01:48 joerg 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.19 2015/02/07 20:01:48 joerg 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.19 2015/02/07 20:01:48 joerg Exp $");
#include <sys/types.h>
@@ -131,6 +131,7 @@
hypervisor_enable_event(evtchn);
}
+#ifdef DIAGNOSTIC
static inline bool /* helper */
valid_ipimask(uint32_t ipimask)
{
@@ -145,6 +146,7 @@
}
}
+#endif
int
xen_send_ipi(struct cpu_info *ci, uint32_t ipimask)
Home |
Main Index |
Thread Index |
Old Index