Loading arch/i386/kernel/smp.c +3 −2 Original line number Diff line number Diff line Loading @@ -22,6 +22,7 @@ #include <asm/mtrr.h> #include <asm/tlbflush.h> #include <asm/mmu_context.h> #include <mach_apic.h> /* Loading Loading @@ -255,7 +256,7 @@ static DEFINE_SPINLOCK(tlbstate_lock); * We need to reload %cr3 since the page tables may be going * away from under us.. */ static inline void leave_mm (unsigned long cpu) void leave_mm(unsigned long cpu) { if (per_cpu(cpu_tlbstate, cpu).state == TLBSTATE_OK) BUG(); Loading include/asm-i386/mmu_context.h +2 −0 Original line number Diff line number Diff line Loading @@ -32,6 +32,8 @@ static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) #endif } void leave_mm(unsigned long cpu); static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, struct task_struct *tsk) Loading Loading
arch/i386/kernel/smp.c +3 −2 Original line number Diff line number Diff line Loading @@ -22,6 +22,7 @@ #include <asm/mtrr.h> #include <asm/tlbflush.h> #include <asm/mmu_context.h> #include <mach_apic.h> /* Loading Loading @@ -255,7 +256,7 @@ static DEFINE_SPINLOCK(tlbstate_lock); * We need to reload %cr3 since the page tables may be going * away from under us.. */ static inline void leave_mm (unsigned long cpu) void leave_mm(unsigned long cpu) { if (per_cpu(cpu_tlbstate, cpu).state == TLBSTATE_OK) BUG(); Loading
include/asm-i386/mmu_context.h +2 −0 Original line number Diff line number Diff line Loading @@ -32,6 +32,8 @@ static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) #endif } void leave_mm(unsigned long cpu); static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, struct task_struct *tsk) Loading