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
- Lines: 18
- Date:
Wed Apr 26 15:29:07 2000
- Orig file:
v2.3.99-pre5/linux/include/asm-i386/mmu_context.h
- Orig date:
Thu Feb 10 17:11:20 2000
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)