summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2019-04-11 14:05:23 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2019-04-11 14:05:23 +0200
commit9ae99fb5ad34f5b587129f5acddf77cbaa6fba17 (patch)
tree06e1393b8dc7b7ce8642b6c852f5e987581ea0f8
parentf4f19cdf1a8f0d2aa5f9fce10c896201528b5347 (diff)
kernel: get rid of KSTKSIZE alias for KSTACK
-rw-r--r--sys/src/9/bcm/mem.h3
-rw-r--r--sys/src/9/kw/mem.h3
-rw-r--r--sys/src/9/omap/mem.h3
-rw-r--r--sys/src/9/teg2/mem.h3
4 files changed, 4 insertions, 8 deletions
diff --git a/sys/src/9/bcm/mem.h b/sys/src/9/bcm/mem.h
index c76b67f8d..11709d5ab 100644
--- a/sys/src/9/bcm/mem.h
+++ b/sys/src/9/bcm/mem.h
@@ -19,7 +19,7 @@
#define MACHSIZE BY2PG
#define L1SIZE (4 * BY2PG)
-#define KSTKSIZE (8*KiB)
+#define KSTACK (8*KiB)
#define STACKALIGN(sp) ((sp) & ~3) /* bug: assure with alloc */
/*
@@ -65,7 +65,6 @@
* Legacy...
*/
#define BLOCKALIGN 64 /* only used in allocb.c */
-#define KSTACK KSTKSIZE
/*
* Sizes
diff --git a/sys/src/9/kw/mem.h b/sys/src/9/kw/mem.h
index 775933bc3..36c4f1c1e 100644
--- a/sys/src/9/kw/mem.h
+++ b/sys/src/9/kw/mem.h
@@ -39,7 +39,7 @@
#define MAXMACH 1 /* max # cpus system can run */
#define MACHSIZE BY2PG
-#define KSTKSIZE (8*KiB)
+#define KSTACK (8*KiB)
#define STACKALIGN(sp) ((sp) & ~3) /* bug: assure with alloc */
/*
@@ -91,7 +91,6 @@
* Legacy...
*/
#define BLOCKALIGN 32 /* only used in allocb.c */
-#define KSTACK KSTKSIZE
/*
* Sizes
diff --git a/sys/src/9/omap/mem.h b/sys/src/9/omap/mem.h
index 744589dc0..2eed0e114 100644
--- a/sys/src/9/omap/mem.h
+++ b/sys/src/9/omap/mem.h
@@ -39,7 +39,7 @@
#define MAXMACH 1 /* max # cpus system can run */
#define MACHSIZE BY2PG
-#define KSTKSIZE (16*KiB) /* was 8K */
+#define KSTACK (16*KiB) /* was 8K */
#define STACKALIGN(sp) ((sp) & ~3) /* bug: assure with alloc */
/*
@@ -80,7 +80,6 @@
* Legacy...
*/
#define BLOCKALIGN 32 /* only used in allocb.c */
-#define KSTACK KSTKSIZE
/*
* Sizes
diff --git a/sys/src/9/teg2/mem.h b/sys/src/9/teg2/mem.h
index c891ae7db..08bdefdb9 100644
--- a/sys/src/9/teg2/mem.h
+++ b/sys/src/9/teg2/mem.h
@@ -41,7 +41,7 @@
#define MACHSIZE BY2PG
#define L1SIZE (4 * BY2PG)
-#define KSTKSIZE (16*KiB) /* was 8K */
+#define KSTACK (16*KiB) /* was 8K */
#define STACKALIGN(sp) ((sp) & ~7) /* bug: assure with alloc */
/*
@@ -97,7 +97,6 @@
* Legacy...
*/
#define BLOCKALIGN CACHELINESZ /* only used in allocb.c */
-#define KSTACK KSTKSIZE
/*
* Sizes