From owner-svn-src-head@FreeBSD.ORG Mon May 2 17:08:36 2011 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 99C55106564A; Mon, 2 May 2011 17:08:36 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 884F38FC08; Mon, 2 May 2011 17:08:36 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id p42H8aME046825; Mon, 2 May 2011 17:08:36 GMT (envelope-from jkim@svn.freebsd.org) Received: (from jkim@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id p42H8auB046822; Mon, 2 May 2011 17:08:36 GMT (envelope-from jkim@svn.freebsd.org) Message-Id: <201105021708.p42H8auB046822@svn.freebsd.org> From: Jung-uk Kim Date: Mon, 2 May 2011 17:08:36 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r221331 - head/sys/x86/x86 X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 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: Mon, 02 May 2011 17:08:36 -0000 Author: jkim Date: Mon May 2 17:08:36 2011 New Revision: 221331 URL: http://svn.freebsd.org/changeset/base/221331 Log: Fix build with clang. Please note there is an LLVM/Clang PR: http://llvm.org/bugs/show_bug.cgi?id=9379 Reported by: rpaulo, dim Modified: head/sys/x86/x86/tsc.c Modified: head/sys/x86/x86/tsc.c ============================================================================== --- head/sys/x86/x86/tsc.c Mon May 2 17:04:09 2011 (r221330) +++ head/sys/x86/x86/tsc.c Mon May 2 17:08:36 2011 (r221331) @@ -100,7 +100,7 @@ static __inline void vmware_hvcall(u_int cmd, u_int *p) { - __asm __volatile("inl (%%dx)" + __asm __volatile("inl %w3, %0" : "=a" (p[0]), "=b" (p[1]), "=c" (p[2]), "=d" (p[3]) : "0" (VMW_HVMAGIC), "1" (UINT_MAX), "2" (cmd), "3" (VMW_HVPORT) : "memory");