summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/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/powerpc/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/powerpc/include/param.h')
-rw-r--r--sys/powerpc/include/param.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/powerpc/include/param.h b/sys/powerpc/include/param.h
index cf4d4a4..19494f9 100644
--- a/sys/powerpc/include/param.h
+++ b/sys/powerpc/include/param.h
@@ -97,10 +97,10 @@
#define KERNBASE 0x100000 /* start of kernel virtual */
#define BTOPKERNBASE ((u_long)KERNBASE >> PGSHIFT)
-#ifndef KSTACK_UPAGES
+#ifndef KSTACK_PAGES
#define KSTACK_PAGES 4 /* includes pcb */
-#define KSTACK_GUARD_PAGES 1 /* pages of kstack guard; 0 disables */
#endif
+#define KSTACK_GUARD_PAGES 1 /* pages of kstack guard; 0 disables */
#define USPACE (KSTACK_PAGES * PAGE_SIZE) /* total size of pcb */
#define UAREA_PAGES 1 /* holds struct user WITHOUT PCB */
OpenPOWER on IntegriCloud