summaryrefslogtreecommitdiffstats
path: root/sys/sparc64/include/param.h
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2003-07-31 01:31:32 +0000
committerpeter <peter@FreeBSD.org>2003-07-31 01:31:32 +0000
commit1c887bc40fa682bacdb7a897d6588ad0ab458f57 (patch)
treefd8f42d79e6d1965a558b0e0fdcd15747424002a /sys/sparc64/include/param.h
parent19f0a8f822a4fc1d098faf83c461c9105441a7a7 (diff)
downloadFreeBSD-src-1c887bc40fa682bacdb7a897d6588ad0ab458f57.zip
FreeBSD-src-1c887bc40fa682bacdb7a897d6588ad0ab458f57.tar.gz
Deal with 'options KSTACK_PAGES' being a global option.
Diffstat (limited to 'sys/sparc64/include/param.h')
-rw-r--r--sys/sparc64/include/param.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/sparc64/include/param.h b/sys/sparc64/include/param.h
index 7ee6360..8a9726c 100644
--- a/sys/sparc64/include/param.h
+++ b/sys/sparc64/include/param.h
@@ -104,7 +104,9 @@
#define PAGE_SIZE_MAX PAGE_SIZE_4M
#define PAGE_MASK_MAX PAGE_MASK_4M
+#ifndef KSTACK_PAGES
#define KSTACK_PAGES 4 /* pages of kernel stack (with pcb) */
+#endif
#define KSTACK_GUARD_PAGES 1 /* pages of kstack guard; 0 disables */
#define UAREA_PAGES 1 /* pages of user area */
#define PCPU_PAGES 1
OpenPOWER on IntegriCloud