From patchwork Wed May 26 03:33:26 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zachary Amsden X-Patchwork-Id: 102329 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 o4Q3XWGn018044 for ; Wed, 26 May 2010 03:33:32 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758854Ab0EZDda (ORCPT ); Tue, 25 May 2010 23:33:30 -0400 Received: from mx1.redhat.com ([209.132.183.28]:25776 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753919Ab0EZDda (ORCPT ); Tue, 25 May 2010 23:33:30 -0400 Received: from int-mx03.intmail.prod.int.phx2.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o4Q3XTm0019045 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 25 May 2010 23:33:29 -0400 Received: from [10.11.10.106] (vpn-10-106.rdu.redhat.com [10.11.10.106]) by int-mx03.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o4Q3XRh5025684; Tue, 25 May 2010 23:33:27 -0400 Message-ID: <4BFC9686.9050300@redhat.com> Date: Tue, 25 May 2010 17:33:26 -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 1/4] Fix tboot enabled macro X-Scanned-By: MIMEDefang 2.67 on 10.5.11.16 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:33:32 +0000 (UTC) diff --git a/x86/external-module-compat.h b/x86/external-module-compat.h index 7d793a0..09bf232 100644 --- a/x86/external-module-compat.h +++ b/x86/external-module-compat.h @@ -770,7 +770,7 @@ static inline void hw_breakpoint_restore(void) #define percpu_write(t, v) __get_cpu_var(t) = v #endif -#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,35) +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,33) #define tboot_enabled() 0 #endif