Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Jun 2013 23:31:09 +0000 (UTC)
From:      Sergey Kandaurov <pluknet@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r251976 - head/sys/amd64/vmm/io
Message-ID:  <201306182331.r5INV9qW061806@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pluknet
Date: Tue Jun 18 23:31:09 2013
New Revision: 251976
URL: http://svnweb.freebsd.org/changeset/base/251976

Log:
  Fix a gcc warning uncovered after r251745.
  
  Reported by:	Sergey V. Dyatko
  Reviewed by:	neel

Modified:
  head/sys/amd64/vmm/io/vlapic.c

Modified: head/sys/amd64/vmm/io/vlapic.c
==============================================================================
--- head/sys/amd64/vmm/io/vlapic.c	Tue Jun 18 23:18:32 2013	(r251975)
+++ head/sys/amd64/vmm/io/vlapic.c	Tue Jun 18 23:31:09 2013	(r251976)
@@ -463,6 +463,9 @@ lapic_process_icr(struct vlapic *vlapic,
 			dmask = vm_active_cpus(vlapic->vm);
 			CPU_CLR(vlapic->vcpuid, &dmask);
 			break;
+		default:
+			CPU_ZERO(&dmask);	/* satisfy gcc */
+			break;
 		}
 
 		while ((i = CPU_FFS(&dmask)) != 0) {



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