]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - mm/nommu.c
Merge branch 'slab/urgent' of git://git.kernel.org/pub/scm/linux/kernel/git/penberg...
[karo-tx-linux.git] / mm / nommu.c
index b78e3a8f5ee74fca5db7ebaa260ebe2644f224f3..4a852f6c5709dbda2a29561714b704972ec292f6 100644 (file)
@@ -786,7 +786,7 @@ static void delete_vma_from_mm(struct vm_area_struct *vma)
        for (i = 0; i < VMACACHE_SIZE; i++) {
                /* if the vma is cached, invalidate the entire cache */
                if (curr->vmacache[i] == vma) {
-                       vmacache_invalidate(curr->mm);
+                       vmacache_invalidate(mm);
                        break;
                }
        }