[patch, 2.6.17-rc3-mm1] fix mm/migrate.c build bug

From: Ingo Molnar
Date: Tue May 02 2006 - 03:52:45 EST


pte_unmap_unlock() takes the pte pointer as an argument.

Signed-off-by: Ingo Molnar <mingo@xxxxxxx>

Index: linux/mm/migrate.c
===================================================================
--- linux.orig/mm/migrate.c
+++ 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);
}

/*
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/