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

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

diff -u --recursive --new-file v2.3.99-pre5/linux/include/asm-i386/mmu_context.h linux/include/asm-i386/mmu_context.h
@@ -12,7 +12,7 @@
 #define destroy_context(mm)		do { } while(0)
 #define init_new_context(tsk,mm)	do { } while (0)
 
-#ifdef __SMP__
+#ifdef CONFIG_SMP
 
 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk, unsigned cpu)
 {
@@ -42,7 +42,7 @@
 		asm volatile("movl %0,%%cr3": :"r" (__pa(next->pgd)));
 		clear_bit(cpu, &prev->cpu_vm_mask);
 	}
-#ifdef __SMP__
+#ifdef CONFIG_SMP
 	else {
 		int old_state = cpu_tlbstate[cpu].state;
 		cpu_tlbstate[cpu].state = TLBSTATE_OK;

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