From f27e1ecbc5b86d43e551551c6bf96576383fb185 Mon Sep 17 00:00:00 2001
From: Yang Zhang <yang.zhang@intel.com>
Date: Thu, 5 Mar 2009 01:36:50 -0500
Subject: [PATCH] kvm : qemu: fix compilation error with old kernel

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.

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

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))
 
-- 
1.6.0.rc1

