diff options
author | peter <peter@FreeBSD.org> | 2003-07-31 01:31:32 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2003-07-31 01:31:32 +0000 |
commit | 1c887bc40fa682bacdb7a897d6588ad0ab458f57 (patch) | |
tree | fd8f42d79e6d1965a558b0e0fdcd15747424002a /sys/alpha | |
parent | 19f0a8f822a4fc1d098faf83c461c9105441a7a7 (diff) | |
download | FreeBSD-src-1c887bc40fa682bacdb7a897d6588ad0ab458f57.zip FreeBSD-src-1c887bc40fa682bacdb7a897d6588ad0ab458f57.tar.gz |
Deal with 'options KSTACK_PAGES' being a global option.
Diffstat (limited to 'sys/alpha')
-rw-r--r-- | sys/alpha/alpha/machdep.c | 1 | ||||
-rw-r--r-- | sys/alpha/alpha/mp_machdep.c | 2 | ||||
-rw-r--r-- | sys/alpha/alpha/vm_machdep.c | 2 | ||||
-rw-r--r-- | sys/alpha/include/param.h | 2 |
4 files changed, 7 insertions, 0 deletions
diff --git a/sys/alpha/alpha/machdep.c b/sys/alpha/alpha/machdep.c index 931e24e..eecd53f 100644 --- a/sys/alpha/alpha/machdep.c +++ b/sys/alpha/alpha/machdep.c @@ -92,6 +92,7 @@ __FBSDID("$FreeBSD$"); #include "opt_compat.h" #include "opt_ddb.h" +#include "opt_kstack_pages.h" #include "opt_msgbuf.h" #include "opt_maxmem.h" diff --git a/sys/alpha/alpha/mp_machdep.c b/sys/alpha/alpha/mp_machdep.c index f37d0f1..78f9c86 100644 --- a/sys/alpha/alpha/mp_machdep.c +++ b/sys/alpha/alpha/mp_machdep.c @@ -27,6 +27,8 @@ #include <sys/cdefs.h> __FBSDID("$FreeBSD$"); +#include "opt_kstack_pages.h" + #include <sys/param.h> #include <sys/systm.h> #include <sys/ktr.h> diff --git a/sys/alpha/alpha/vm_machdep.c b/sys/alpha/alpha/vm_machdep.c index cd0a1b7..dfac217 100644 --- a/sys/alpha/alpha/vm_machdep.c +++ b/sys/alpha/alpha/vm_machdep.c @@ -69,6 +69,8 @@ #include <sys/cdefs.h> __FBSDID("$FreeBSD$"); +#include "opt_kstack_pages.h" + #include <sys/param.h> #include <sys/systm.h> #include <sys/proc.h> diff --git a/sys/alpha/include/param.h b/sys/alpha/include/param.h index 6095714..324219b 100644 --- a/sys/alpha/include/param.h +++ b/sys/alpha/include/param.h @@ -117,7 +117,9 @@ #define SSIZE 1 /* initial stack size/NBPG */ #define SINCR 1 /* increment of stack/NBPG */ +#ifndef KSTACK_PAGES #define KSTACK_PAGES 2 /* pages of kstack (with pcb) */ +#endif #define KSTACK_GUARD_PAGES 1 /* pages of kstack guard; 0 disables */ #define UAREA_PAGES 1 /* pages of u-area */ |