|
@@ -786,7 +786,7 @@ static void delete_vma_from_mm(struct vm_area_struct *vma)
|
|
for (i = 0; i < VMACACHE_SIZE; i++) {
|
|
for (i = 0; i < VMACACHE_SIZE; i++) {
|
|
/* if the vma is cached, invalidate the entire cache */
|
|
/* if the vma is cached, invalidate the entire cache */
|
|
if (curr->vmacache[i] == vma) {
|
|
if (curr->vmacache[i] == vma) {
|
|
- vmacache_invalidate(curr->mm);
|
|
|
|
|
|
+ vmacache_invalidate(mm);
|
|
break;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|