aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/mm/tlb-sh3.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/mm/tlb-sh3.c')
-rw-r--r--arch/sh/mm/tlb-sh3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/mm/tlb-sh3.c b/arch/sh/mm/tlb-sh3.c
index 425f1f23cf93..ace8e6d2f59d 100644
--- a/arch/sh/mm/tlb-sh3.c
+++ b/arch/sh/mm/tlb-sh3.c
@@ -34,7 +34,7 @@ void __update_tlb(struct vm_area_struct *vma, unsigned long address, pte_t pte)
34 /* 34 /*
35 * Handle debugger faulting in for debugee. 35 * Handle debugger faulting in for debugee.
36 */ 36 */
37 if (current->active_mm != vma->vm_mm) 37 if (vma && current->active_mm != vma->vm_mm)
38 return; 38 return;
39 39
40 local_irq_save(flags); 40 local_irq_save(flags);