From: Andrew Morton <[email-masked]>

Cc: Zachary Amsden <[email-masked]>
Signed-off-by: Andrew Morton <[email-masked]>
---

 include/asm-generic/pgtable.h |    4 ++--
 memory.c                      |    0 
 2 files changed, 2 insertions(+), 2 deletions(-)

diff -puN mm/memory.c~x86-ptep-clear-optimization-fix mm/memory.c
diff -puN include/asm-generic/pgtable.h~x86-ptep-clear-optimization-fix include/asm-generic/pgtable.h
--- 25-alpha/include/asm-generic/pgtable.h~x86-ptep-clear-optimization-fix	2005-07-30 18:26:38.000000000 -0700
+++ 25-alpha-akpm/include/asm-generic/pgtable.h	2005-07-30 18:26:38.000000000 -0700
@@ -111,9 +111,9 @@ do {				  					  \
 #endif
 
 #ifndef __HAVE_ARCH_PTE_CLEAR_FULL
-#define pte_clear_full(__tlb, __address, __ptep, __full)		\
+#define pte_clear_full(__mm, __address, __ptep, __full)			\
 do {									\
-	pte_clear((__tlb)->mm, (__address), (__ptep));			\
+	pte_clear((__mm), (__address), (__ptep));			\
 } while (0)
 #endif
 
_