patch-1.3.53 linux/include/asm-i386/pgtable.h

Next file: linux/include/linux/interrupt.h
Previous file: linux/include/asm-i386/byteorder.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.52/linux/include/asm-i386/pgtable.h linux/include/asm-i386/pgtable.h
@@ -35,11 +35,11 @@
 #define __invalidate() \
 __asm__ __volatile__("movl %%cr3,%%eax\n\tmovl %%eax,%%cr3": : :"ax")
 
-#ifdef CONFIG_M486
+#ifdef CONFIG_M386
+#define __invalidate_one(addr) invalidate()
+#else
 #define __invalidate_one(addr) \
 __asm__ __volatile__("invlpg %0": :"m" (*(char *) addr))
-#else
-#define __invalidate_one(addr) invalidate()
 #endif
  
 #ifndef __SMP__

FUNET's LINUX-ADM group, [email protected]
TCL-scripts by Sam Shen, [email protected] with Sam's (original) version
of this