From patchwork Wed May 26 03:35:31 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zachary Amsden X-Patchwork-Id: 102331 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o4Q3ZanG020038 for ; Wed, 26 May 2010 03:35:36 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759194Ab0EZDfe (ORCPT ); Tue, 25 May 2010 23:35:34 -0400 Received: from mx1.redhat.com ([209.132.183.28]:39119 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759184Ab0EZDfd (ORCPT ); Tue, 25 May 2010 23:35:33 -0400 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o4Q3ZXTe014661 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 25 May 2010 23:35:33 -0400 Received: from [10.11.10.106] (vpn-10-106.rdu.redhat.com [10.11.10.106]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o4Q3ZV3g025369; Tue, 25 May 2010 23:35:32 -0400 Message-ID: <4BFC9703.9060106@redhat.com> Date: Tue, 25 May 2010 17:35:31 -1000 From: Zachary Amsden User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100430 Fedora/3.0.4-3.fc13 Thunderbird/3.0.4 MIME-Version: 1.0 To: kvm , Jan Kiszka , Avi Kivity , Gleb Natapov Subject: [PATCH 3/4] AMD module build failure X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Wed, 26 May 2010 03:35:36 +0000 (UTC) diff --git a/x86/external-module-compat.h b/x86/external-module-compat.h index 316f7ff..e7ed07b 100644 --- a/x86/external-module-compat.h +++ b/x86/external-module-compat.h @@ -872,3 +872,7 @@ static inline void fpu_save_init(struct fpu *fpu) kvm_fx_restore(&fpu->state->host_fx_image); } #endif + +#ifndef MSR_AMD64_DC_CFG +#define MSR_AMD64_DC_CFG 0xc0011022 +#endif