patch-2.4.0-test12 linux/include/asm-generic/pgtable.h

Next file: linux/include/asm-i386/apic.h
Previous file: linux/include/asm-generic/bitops.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test11/linux/include/asm-generic/pgtable.h linux/include/asm-generic/pgtable.h
@@ -26,7 +26,7 @@
 	return pte;
 }
 
-static inline void ptep_clear_wrprotect(pte_t *ptep)
+static inline void ptep_set_wrprotect(pte_t *ptep)
 {
 	pte_t old_pte = *ptep;
 	set_pte(ptep, pte_wrprotect(old_pte));

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)