diff mbox

kvm : qemu: fix compilation error with old kernel

Message ID 10C63FAD690C13458F0B32BCED571F1406DB0FCD@pdsmsx502.ccr.corp.intel.com (mailing list archive)
State Accepted
Headers show

Commit Message

Zhang, Yang March 5, 2009, 7:10 a.m. UTC
The function hrtimer_start_expires() in the kvm-ia64.c is not supported before the kernel 2.6.28. 
So we need to hack it. 
please review it.  thanks


Signed-off-by: Yang Zhang <yang.zhang@intel.com>
---
 kernel/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Comments

Marcelo Tosatti March 5, 2009, 11:55 p.m. UTC | #1
On Thu, Mar 05, 2009 at 03:10:22PM +0800, Zhang, Yang wrote:
> The function hrtimer_start_expires() in the kvm-ia64.c is not supported before the kernel 2.6.28. 
> So we need to hack it. 
> please review it.  thanks

Applied, thanks.

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/kernel/Makefile b/kernel/Makefile
index f8b341f..ebf31f8 100644
--- a/kernel/Makefile
+++ b/kernel/Makefile
@@ -30,7 +30,7 @@  unifdef = mv $1 $1.orig && cat unifdef.h $1.orig > $1 && rm $1.orig
 hack = $(call _hack,$T/$(strip $1))
 
 hack-files-x86 = kvm_main.c mmu.c vmx.c svm.c x86.c irq.h lapic.c i8254.c kvm_trace.c
-hack-files-ia64 = kvm_main.c kvm_fw.c kvm_lib.c
+hack-files-ia64 = kvm_main.c kvm_fw.c kvm_lib.c kvm-ia64.c
 
 hack-files = $(hack-files-$(ARCH_DIR))