Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Oct 2013 16:55:34 +0000 (UTC)
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r256117 - head/sys/dev/xen/control
Message-ID:  <201310071655.r97GtY9t029031@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310071655.r97GtY9t029031>