Skip to contentSkip to conversation

fix mm/migrate.c build bug

PATCH New Ingo Molnar 1 participant 1 message May 2, 2006

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix mm/migrate.c build bug

pte_unmap_unlock() takes the pte pointer as an argument.

mm/migrate.c +1 -1
Index: linux/mm/migrate.c
===================================================================
@@ -177,7 +177,7 @@ static void remove_migration_pte(struct 
 		page_add_file_rmap(new);
 
 out:
-	pte_unmap_unlock(pte, ptl);
+	pte_unmap_unlock(ptep, ptl);
 }
 
 /*