summaryrefslogtreecommitdiffstats
path: root/arch/mips/mm/r4xx0.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-07-26 22:58:52 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-07-26 22:58:52 +0000
commitaa80a9f1984f6552fbeef13bd76be82050be6a16 (patch)
tree60368ec4f3ba38ac1a3b8bddf8c206ff61b2140f /arch/mips/mm/r4xx0.c
parenta27ad9b5cf49fea1a55141868f4bf02c2d91bfc1 (diff)
Apply the update_mmu_cache patch also to 32-bit mips.
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