From owner-svn-src-head@FreeBSD.ORG Tue Jun 18 23:31:09 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id D2A4A59E; Tue, 18 Jun 2013 23:31:09 +0000 (UTC) (envelope-from pluknet@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id C35B51A86; Tue, 18 Jun 2013 23:31:09 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r5INV9AB061807; Tue, 18 Jun 2013 23:31:09 GMT (envelope-from pluknet@svn.freebsd.org) Received: (from pluknet@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r5INV9qW061806; Tue, 18 Jun 2013 23:31:09 GMT (envelope-from pluknet@svn.freebsd.org) Message-Id: <201306182331.r5INV9qW061806@svn.freebsd.org> From: Sergey Kandaurov Date: Tue, 18 Jun 2013 23:31:09 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r251976 - head/sys/amd64/vmm/io X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Jun 2013 23:31:09 -0000 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) {