patch-1.3.38 linux/include/asm-i386/page.h

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

diff -u --recursive --new-file v1.3.37/linux/include/asm-i386/page.h linux/include/asm-i386/page.h
@@ -8,9 +8,9 @@
 
 #ifdef __KERNEL__
 
-#define CONFIG_STRICT_MM_TYPECHECKS
+#define STRICT_MM_TYPECHECKS
 
-#ifdef CONFIG_STRICT_MM_TYPECHECKS
+#ifdef STRICT_MM_TYPECHECKS
 /*
  * These are used to make use of C type-checking..
  */
@@ -61,7 +61,7 @@
  * ..but the i386 has somewhat limited invalidation capabilities.
  */
  
-#ifndef CONFIG_SMP
+#ifndef __SMP__
 #define invalidate() \
 __asm__ __volatile__("movl %%cr3,%%eax\n\tmovl %%eax,%%cr3": : :"ax")
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this