From patchwork Tue Feb 3 11:11:53 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Cataldo X-Patchwork-Id: 5212 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 n13BBu6I000975 for ; Tue, 3 Feb 2009 11:11:57 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751120AbZBCLLz (ORCPT ); Tue, 3 Feb 2009 06:11:55 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751577AbZBCLLz (ORCPT ); Tue, 3 Feb 2009 06:11:55 -0500 Received: from rv-out-0506.google.com ([209.85.198.232]:13483 "EHLO rv-out-0506.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751120AbZBCLLy (ORCPT ); Tue, 3 Feb 2009 06:11:54 -0500 Received: by rv-out-0506.google.com with SMTP id k40so1954436rvb.1 for ; Tue, 03 Feb 2009 03:11:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=GuG2RpqqbuIWy3KPINLyRan3yzWEVfgSzQAJy3bna8I=; b=UfKomQpMadHANUjBICfLBlLWltfD4bTmNiVd4QmFRWJXlUZZ92N9lii4lZNA5wbZZN /wXCY0LrUseUHF4BW1Ms9qPUqE1dFVvCEqqgZ8T/ERvuOUAC2LaztKq8xg/54wzWOnMK XZUghW2EncUFA8UvKAwaMRtej8ZHbBd66mtxE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; b=AhSYfC767xMTtrYCddQRVSEQJnrYj4M3twTyY42Yx5FUjjp2+lJEq4ArJ45uB4LZc1 wlSfhxzfk6IIuTLqxgNUrtT2qJMLTbhyI0R+rk3OB58TOwu3ZvY/7iBOcfmfZhcve8Wu hRm5DSTZA6jT6AEWhScb7xjUgFDlOHyz1we7g= MIME-Version: 1.0 Received: by 10.142.234.16 with SMTP id g16mr2317508wfh.107.1233659513357; Tue, 03 Feb 2009 03:11:53 -0800 (PST) Date: Tue, 3 Feb 2009 12:11:53 +0100 X-Google-Sender-Auth: 1c6c08fa933dc37d Message-ID: Subject: [PATCH] build fix for external module with 2.6.27 From: Thomas Cataldo To: kvm@vger.kernel.org Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org Hello, I had to apply to following trivial patch to my kvm git checkout to build the external module on 2.6.27. diff --git a/kernel/external-module-compat-comm.h b/kernel/external-module-compat-comm.h index 981dc96..9156a0c 100644 --- a/kernel/external-module-compat-comm.h +++ b/kernel/external-module-compat-comm.h @@ -613,7 +613,7 @@ static inline void kvm_hrtimer_start_expires(struct hrtimer *timer, int mode) #endif -#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,27) +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,28) static inline ktime_t kvm_hrtimer_expires_remaining(const struct hrtimer *timer) {