[PATCH] kvm : qemu: fix compilation error with old kernel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
---
 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

Attachment: 0001-kvm-qemu-fix-compilation-error-with-old-kernel.patch
Description: 0001-kvm-qemu-fix-compilation-error-with-old-kernel.patch


[Index of Archives]     [Linux KVM Devel]     [Linux Virtualization]     [Big List of Linux Books]     [Linux SCSI]     [Yosemite Forum]

  Powered by Linux