patch-2.4.19 linux-2.4.19/kernel/ptrace.c

Next file: linux-2.4.19/kernel/sched.c
Previous file: linux-2.4.19/kernel/printk.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.18/kernel/ptrace.c linux-2.4.19/kernel/ptrace.c
@@ -164,7 +164,7 @@
 		if (write) {
 			memcpy(maddr + offset, buf, bytes);
 			flush_page_to_ram(page);
-			flush_icache_page(vma, page);
+			flush_icache_user_range(vma, page, addr, len);
 		} else {
 			memcpy(buf, maddr + offset, bytes);
 			flush_page_to_ram(page);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)