]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/um/kernel/tt/tlb.c
[PATCH] uml: TLB operation batching
[linux-2.6-omap-h63xx.git] / arch / um / kernel / tt / tlb.c
index 203216ad86f1c230b9dceaf9ed297e68bdca075a..16fc6a28882d8b11dede6ecdec95fa73f7bee736 100644 (file)
@@ -17,7 +17,8 @@
 #include "os.h"
 #include "tlb.h"
 
-static void do_ops(int unused, struct host_vm_op *ops, int last)
+static void *do_ops(union mm_context *mmu, struct host_vm_op *ops, int last,
+                   int finished, void *flush)
 {
        struct host_vm_op *op;
        int i;
@@ -45,6 +46,8 @@ static void do_ops(int unused, struct host_vm_op *ops, int last)
                        break;
                }
        }
+
+       return NULL;
 }
 
 static void fix_range(struct mm_struct *mm, unsigned long start_addr, 
@@ -55,7 +58,7 @@ static void fix_range(struct mm_struct *mm, unsigned long start_addr,
                 panic("fix_range fixing wrong address space, current = 0x%p",
                       current);
 
-        fix_range_common(mm, start_addr, end_addr, force, 0, do_ops);
+        fix_range_common(mm, start_addr, end_addr, force, do_ops);
 }
 
 atomic_t vmchange_seq = ATOMIC_INIT(1);