svn commit: r256117 - head/sys/dev/xen/control

Dimitry Andric dim at FreeBSD.org
Mon Oct 7 16:55:34 UTC 2013


Author: dim
Date: Mon Oct  7 16:55:34 2013
New Revision: 256117
URL: http://svnweb.freebsd.org/changeset/base/256117

Log:
  Initialize a variable in sys/dev/xen/control/control.c, to silence a gcc
  warning.
  
  Approved by:	re (gjb)
  MFC after:      3 days

Modified:
  head/sys/dev/xen/control/control.c

Modified: head/sys/dev/xen/control/control.c
==============================================================================
--- head/sys/dev/xen/control/control.c	Mon Oct  7 16:54:29 2013	(r256116)
+++ head/sys/dev/xen/control/control.c	Mon Oct  7 16:55:34 2013	(r256117)
@@ -371,6 +371,7 @@ xctrl_suspend()
 	mtx_unlock(&Giant);
 
 #ifdef SMP
+	CPU_ZERO(&cpu_suspend_map);	/* silence gcc */
 	if (smp_started) {
 		/*
 		 * Suspend other CPUs. This prevents IPIs while we


More information about the svn-src-all mailing list