diff options
author | neel <neel@FreeBSD.org> | 2010-02-03 04:09:36 +0000 |
---|---|---|
committer | neel <neel@FreeBSD.org> | 2010-02-03 04:09:36 +0000 |
commit | 1638fb996a2d8c3947bb5058ee5537fdc1e67456 (patch) | |
tree | 2ff7d884dd006e261dee7d53f37e71fb2bf7f9a0 /sys/mips/include/proc.h | |
parent | 324cd07ff3ef4ca1ff19b51105bff7d2b63c2ef2 (diff) | |
download | FreeBSD-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)
Diffstat (limited to 'sys/mips/include/proc.h')
-rw-r--r-- | sys/mips/include/proc.h | 2 |
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; |