summaryrefslogtreecommitdiffstats
path: root/kernel/ptrace.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-07-31 03:39:50 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-07-31 03:39:50 +0000
commit17d285e537c498cf18ce79a52ca553ea964f389b (patch)
tree3905f77168a7a6d92c68bbd47b5ddae2664fe203 /kernel/ptrace.c
parentce36512304b7cb5e1a911829b249e403261263ac (diff)
Shave of 50% of lat_mmap. Our cache routines were plain stupid.
Diffstat (limited to 'kernel/ptrace.c')
-rw-r--r--kernel/ptrace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/ptrace.c b/kernel/ptrace.c
index e009bca35..6c5d1f143 100644
--- a/kernel/ptrace.c
+++ b/kernel/ptrace.c
@@ -54,7 +54,7 @@ repeat:
maddr = kmap(page);
memcpy((char *)maddr + (addr & ~PAGE_MASK), buf, len);
flush_page_to_ram(page);
- flush_icache_page(vma, page);
+ flush_icache_page(vma, page, addr);
kunmap(page);
} else {
maddr = kmap(page);