ref: 9ae99fb5ad34f5b587129f5acddf77cbaa6fba17
parent: f4f19cdf1a8f0d2aa5f9fce10c896201528b5347
author: cinap_lenrek <[email protected]>
date: Thu Apr 11 10:05:23 EDT 2019
kernel: get rid of KSTKSIZE alias for KSTACK
--- 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
--- 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
--- 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
--- 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