patch-2.4.11-dontuse linux/arch/sparc64/kernel/ptrace.c
Next file: linux/arch/sparc64/kernel/setup.c
Previous file: linux/arch/sparc64/kernel/process.c
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Mon Oct 1 09:19:56 2001
- Orig file:
v2.4.10/linux/arch/sparc64/kernel/ptrace.c
- Orig date:
Sun Sep 23 11:40:56 2001
diff -u --recursive --new-file v2.4.10/linux/arch/sparc64/kernel/ptrace.c linux/arch/sparc64/kernel/ptrace.c
@@ -25,6 +25,7 @@
#include <asm/uaccess.h>
#include <asm/psrcompat.h>
#include <asm/visasm.h>
+#include <asm/spitfire.h>
#define MAGIC_CONSTANT 0x80000000
@@ -596,7 +597,7 @@
spitfire_put_dcache_tag(va, 0x0);
/* No need to mess with I-cache on Cheetah. */
} else {
- for (va = 0; va < (PAGE_SIZE << 1); va += 32)
+ for (va = 0; va < L1DCACHE_SIZE; va += 32)
spitfire_put_dcache_tag(va, 0x0);
if (request == PTRACE_PEEKTEXT ||
request == PTRACE_POKETEXT ||
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)