diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2000-07-31 03:39:50 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2000-07-31 03:39:50 +0000 |
commit | 17d285e537c498cf18ce79a52ca553ea964f389b (patch) | |
tree | 3905f77168a7a6d92c68bbd47b5ddae2664fe203 /kernel/ptrace.c | |
parent | ce36512304b7cb5e1a911829b249e403261263ac (diff) |
Shave of 50% of lat_mmap. Our cache routines were plain stupid.
Diffstat (limited to 'kernel/ptrace.c')
-rw-r--r-- | kernel/ptrace.c | 2 |
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); |