From owner-svn-src-projects@FreeBSD.ORG Sat Sep 13 22:45:04 2014 Return-Path: Delivered-To: svn-src-projects@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C4B44794; Sat, 13 Sep 2014 22:45:04 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B0E4427A; Sat, 13 Sep 2014 22:45:04 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s8DMj4iu098753; Sat, 13 Sep 2014 22:45:04 GMT (envelope-from neel@FreeBSD.org) Received: (from neel@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s8DMj4MZ098752; Sat, 13 Sep 2014 22:45:04 GMT (envelope-from neel@FreeBSD.org) Message-Id: <201409132245.s8DMj4MZ098752@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: neel set sender to neel@FreeBSD.org using -f From: Neel Natu Date: Sat, 13 Sep 2014 22:45:04 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r271557 - projects/bhyve_svm/sys/amd64/vmm/amd X-SVN-Group: projects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Sep 2014 22:45:04 -0000 Author: neel Date: Sat Sep 13 22:45:04 2014 New Revision: 271557 URL: http://svnweb.freebsd.org/changeset/base/271557 Log: style(9): insert an empty line if the function has no local variables Pointed out by: grehan Modified: projects/bhyve_svm/sys/amd64/vmm/amd/svm.c Modified: projects/bhyve_svm/sys/amd64/vmm/amd/svm.c ============================================================================== --- projects/bhyve_svm/sys/amd64/vmm/amd/svm.c Sat Sep 13 22:44:33 2014 (r271556) +++ projects/bhyve_svm/sys/amd64/vmm/amd/svm.c Sat Sep 13 22:45:04 2014 (r271557) @@ -227,12 +227,14 @@ svm_cpuid_features(void) static __inline int flush_by_asid(void) { + return (svm_feature & AMD_CPUID_SVM_FLUSH_BY_ASID); } static __inline int decode_assist(void) { + return (svm_feature & AMD_CPUID_SVM_DECODE_ASSIST); }