2003-08-11 17:21:08

by Dave Jones

[permalink] [raw]
Subject: [PATCH] correct tlb_remove_page comment.

Remove prototype. It was wrong anyway.

diff -urpN --exclude-from=/home/davej/.exclude bk-linus/include/asm-generic/tlb.h linux-2.5/include/asm-generic/tlb.h
--- bk-linus/include/asm-generic/tlb.h 2003-05-26 12:57:43.000000000 +0100
+++ linux-2.5/include/asm-generic/tlb.h 2003-07-13 06:05:04.000000000 +0100
@@ -99,7 +99,7 @@ tlb_finish_mmu(struct mmu_gather *tlb, u
}


-/* void tlb_remove_page(struct mmu_gather *tlb, pte_t *ptep, unsigned long addr)
+/* tlb_remove_page
* Must perform the equivalent to __free_pte(pte_get_and_clear(ptep)), while
* handling the additional races in SMP caused by other CPUs caching valid
* mappings in their TLBs.