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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



pte_unmap_unlock() takes the pte pointer as an argument.

Signed-off-by: Ingo Molnar <[email protected]>

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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux