summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorneel <neel@FreeBSD.org>2010-02-03 04:09:36 +0000
committerneel <neel@FreeBSD.org>2010-02-03 04:09:36 +0000
commit1638fb996a2d8c3947bb5058ee5537fdc1e67456 (patch)
tree2ff7d884dd006e261dee7d53f37e71fb2bf7f9a0
parent324cd07ff3ef4ca1ff19b51105bff7d2b63c2ef2 (diff)
downloadFreeBSD-src-1638fb996a2d8c3947bb5058ee5537fdc1e67456.zip
FreeBSD-src-1638fb996a2d8c3947bb5058ee5537fdc1e67456.tar.gz
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)
-rw-r--r--sys/mips/include/proc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/mips/include/proc.h b/sys/mips/include/proc.h
index d09620a..99dab78 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;
OpenPOWER on IntegriCloud