repository: /home/avi/kvm
branch: master
commit 0c270d17de931d6b381f299dc96258c1de0694b5
Author: Avi Kivity <[EMAIL PROTECTED]>
Date:   Thu Dec 6 10:20:03 2007 +0200

    kvm: external module: backward compatibility for <linux/mm_types.h>
    
    Signed-off-by: Avi Kivity <[EMAIL PROTECTED]>

diff --git a/kernel/Makefile b/kernel/Makefile
index 3e6e236..36a1440 100644
--- a/kernel/Makefile
+++ b/kernel/Makefile
@@ -45,6 +45,7 @@ sync:
        $(call hack, vmx.c)
        $(call hack, svm.c)
        $(call hack, x86.c)
+       $(call hack, irq.h)
        @$(foreach i, $(shell find tmp -type f -printf '%P\n'), \
                if ! cmp -s $i tmp/$i; then cp tmp/$i $i; fi && ) :
 
diff --git a/kernel/hack-module.awk b/kernel/hack-module.awk
index c02fe6e..7993aa2 100644
--- a/kernel/hack-module.awk
+++ b/kernel/hack-module.awk
@@ -66,6 +66,8 @@
     $0 = "\t.VMA_OPS_FAULT(fault) = VMA_OPS_FAULT_FUNC(" fcn "),"
 }
 
+{ sub(/linux\/mm_types\.h/, "linux/mm.h") }
+
 { print }
 
 /kvm_x86_ops->run/ {

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
kvm-commits mailing list
kvm-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-commits

Reply via email to