summaryrefslogtreecommitdiffstats
path: root/sys/ia64
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2003-05-16 06:17:34 +0000
committermarcel <marcel@FreeBSD.org>2003-05-16 06:17:34 +0000
commitee46c327a101cd96f0850b3007e12c2df3f7dcd3 (patch)
tree4264d2476e405d22c708516be87c9038257b0900 /sys/ia64
parent0953128c46c20c91783315e7bfce340de297ba6e (diff)
downloadFreeBSD-src-ee46c327a101cd96f0850b3007e12c2df3f7dcd3.zip
FreeBSD-src-ee46c327a101cd96f0850b3007e12c2df3f7dcd3.tar.gz
Move the conditional definition of KSTACK_MAX_PAGES up ahead where
it's more visible. Approved by: re@ (blanket)
Diffstat (limited to 'sys/ia64')
-rw-r--r--sys/ia64/ia64/pmap.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/ia64/ia64/pmap.c b/sys/ia64/ia64/pmap.c
index 288838e..ece5bfa 100644
--- a/sys/ia64/ia64/pmap.c
+++ b/sys/ia64/ia64/pmap.c
@@ -126,6 +126,10 @@
MALLOC_DEFINE(M_PMAP, "PMAP", "PMAP Structures");
+#ifndef KSTACK_MAX_PAGES
+#define KSTACK_MAX_PAGES 32
+#endif
+
#ifndef PMAP_SHPGPERPROC
#define PMAP_SHPGPERPROC 200
#endif
@@ -724,10 +728,6 @@ pmap_track_modified(vm_offset_t va)
return 0;
}
-#ifndef KSTACK_MAX_PAGES
-#define KSTACK_MAX_PAGES 32
-#endif
-
/*
* Create the KSTACK for a new thread.
* This routine directly affects the fork perf for a process/thread.
OpenPOWER on IntegriCloud