From ae50475f5d7d690dc79fe8a57c932eb3c72f5f4a Mon Sep 17 00:00:00 2001 From: Neel Natu Date: Wed, 3 Feb 2010 04:09:36 +0000 Subject: [PATCH] Reduce the size of the array used to store the TLB mappings for the kernel stack from 3 to 2. We only map in 2 pages for the kernel stack. Approved by: imp (mentor) --- sys/mips/include/proc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/mips/include/proc.h b/sys/mips/include/proc.h index d09620a2d11..99dab78e165 100644 --- a/sys/mips/include/proc.h +++ b/sys/mips/include/proc.h @@ -44,7 +44,7 @@ */ struct mdthread { int md_flags; /* machine-dependent flags */ - int md_upte[KSTACK_PAGES]; /* ptes for mapping u pcb */ + int md_upte[KSTACK_PAGES - 1]; /* ptes for mapping u pcb */ int md_ss_addr; /* single step address for ptrace */ int md_ss_instr; /* single step instruction for ptrace */ register_t md_saved_intr;