summaryrefslogtreecommitdiffstats
path: root/arch/mips/mm/r4xx0.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/mm/r4xx0.c')
-rw-r--r--arch/mips/mm/r4xx0.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/mips/mm/r4xx0.c b/arch/mips/mm/r4xx0.c
index 4e7f0bbf7..279676616 100644
--- a/arch/mips/mm/r4xx0.c
+++ b/arch/mips/mm/r4xx0.c
@@ -2399,6 +2399,12 @@ void update_mmu_cache(struct vm_area_struct * vma,
pte_t *ptep;
int idx, pid;
+ /*
+ * Handle debugger faulting in for debugee.
+ */
+ if (current->active_mm != vma->vm_mm)
+ return;
+
pid = get_entryhi() & 0xff;
#ifdef DEBUG_TLB