From patchwork Mon Oct 19 10:59:24 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Kiszka X-Patchwork-Id: 54742 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n9JB4uan026175 for ; Mon, 19 Oct 2009 11:04:57 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756008AbZJSLEt (ORCPT ); Mon, 19 Oct 2009 07:04:49 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756024AbZJSLEs (ORCPT ); Mon, 19 Oct 2009 07:04:48 -0400 Received: from goliath.siemens.de ([192.35.17.28]:22366 "EHLO goliath.siemens.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756009AbZJSLEh (ORCPT ); Mon, 19 Oct 2009 07:04:37 -0400 Received: from mail1.siemens.de (localhost [127.0.0.1]) by goliath.siemens.de (8.12.11.20060308/8.12.11) with ESMTP id n9JB4SMj022248; Mon, 19 Oct 2009 13:04:28 +0200 Received: from [139.25.109.167] (mchn012c.mchp.siemens.de [139.25.109.167] (may be forged)) by mail1.siemens.de (8.12.11.20060308/8.12.11) with ESMTP id n9JB4Siu020783; Mon, 19 Oct 2009 13:04:28 +0200 From: Jan Kiszka Subject: [PATCH 07/12] Define X86_FEATURE_GBPAGES if missing To: Avi Kivity , Marcelo Tosatti Cc: kvm@vger.kernel.org Date: Mon, 19 Oct 2009 12:59:24 +0200 Message-ID: <20091019105924.3988.11774.stgit@mchn012c.ww002.siemens.net> In-Reply-To: <20091019105923.3988.42243.stgit@mchn012c.ww002.siemens.net> References: <20091019105923.3988.42243.stgit@mchn012c.ww002.siemens.net> User-Agent: StGIT/0.14.3 MIME-Version: 1.0 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org diff --git a/x86/external-module-compat.h b/x86/external-module-compat.h index a1a21a5..7056aa1 100644 --- a/x86/external-module-compat.h +++ b/x86/external-module-compat.h @@ -165,6 +165,10 @@ static inline int rdmsrl_safe(unsigned msr, unsigned long long *p) #define X86_FEATURE_FXSR_OPT (1*32+25) #endif +#ifndef X86_FEATURE_GBPAGES +#define X86_FEATURE_GBPAGES (1*32+26) /* GB pages */ +#endif + #ifndef X86_FEATURE_SSSE3 #define X86_FEATURE_SSSE3 (4*32+ 9) /* Supplemental SSE-3 */ #endif