Hello,

this GETTER stuff looks a bit tricky... (we've just to cope with it).

Anyway this allows building again and perhaps there's something good
in the patch (not sure about the >= 2.6.25 side that I didn't touch)

Signed-off-by: Andrea Arcangeli <[EMAIL PROTECTED]>  

diff --git a/kernel/external-module-compat.h b/kernel/external-module-compat.h
index 3b45999..fe6108c 100644
--- a/kernel/external-module-compat.h
+++ b/kernel/external-module-compat.h
@@ -658,7 +664,7 @@ static inline struct page *__kvm_vm_fault(struct 
vm_area_struct *vma,
        {                                     \
                u64 ret = 0;                  \
                                              \
-               __##x(v, &ret);               \
+               __##x(v);                     \
                return ret;                   \
        }
 
diff --git a/kernel/hack-module.awk b/kernel/hack-module.awk
index 126957a..c98666e 100644
--- a/kernel/hack-module.awk
+++ b/kernel/hack-module.awk
@@ -40,7 +40,7 @@
     $0 = "\t.VMA_OPS_FAULT(fault) = VMA_OPS_FAULT_FUNC(" fcn "),"
 }
 
-/^static int .*_stat_get/ {
+/^static .*_stat_get/ {
     $3 = "__" $3
 }
 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel

Reply via email to