patch-2.4.19 linux-2.4.19/include/asm-generic/tlb.h

Next file: linux-2.4.19/include/asm-i386/apic.h
Previous file: linux-2.4.19/include/asm-cris/unistd.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.18/include/asm-generic/tlb.h linux-2.4.19/include/asm-generic/tlb.h
@@ -55,8 +55,9 @@
 #define tlb_remove_page(ctxp, pte, addr) do {\
 		/* Handle the common case fast, first. */\
 		if ((ctxp)->nr == ~0UL) {\
-			__free_pte(*(pte));\
-			pte_clear((pte));\
+			pte_t __pte = *(pte);\
+			pte_clear(pte);\
+			__free_pte(__pte);\
 			break;\
 		}\
 		if (!(ctxp)->nr) \

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