patch-2.3.99-pre6 linux/include/asm-i386/pgalloc.h

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

diff -u --recursive --new-file v2.3.99-pre5/linux/include/asm-i386/pgalloc.h linux/include/asm-i386/pgalloc.h
@@ -156,7 +156,7 @@
 {
 	struct task_struct * p;
 	pgd_t *pgd;
-#ifdef __SMP__
+#ifdef CONFIG_SMP
 	int i;
 #endif	
 
@@ -167,7 +167,7 @@
 		*pgd_offset(p->mm,address) = entry;
 	}
 	read_unlock(&tasklist_lock);
-#ifndef __SMP__
+#ifndef CONFIG_SMP
 	for (pgd = (pgd_t *)pgd_quicklist; pgd; pgd = (pgd_t *)*(unsigned long *)pgd)
 		pgd[address >> PGDIR_SHIFT] = entry;
 #else
@@ -193,7 +193,7 @@
  * and page-granular flushes are available only on i486 and up.
  */
 
-#ifndef __SMP__
+#ifndef CONFIG_SMP
 
 #define flush_tlb() __flush_tlb()
 #define flush_tlb_all() __flush_tlb_all()

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