changelog shortlog tags branches files raw gz bz2 help

Mercurial > hg > plan9front / changeset: kernel: get rid of KSTKSIZE alias for KSTACK

changeset 7157: 01744491ac8f
parent 7156: 9851d8234792
child 7158: 46cc885b933b
author: cinap_lenrek@felloff.net
date: Thu, 11 Apr 2019 14:05:23 +0200
files: sys/src/9/bcm/mem.h sys/src/9/kw/mem.h sys/src/9/omap/mem.h sys/src/9/teg2/mem.h
description: kernel: get rid of KSTKSIZE alias for KSTACK
     1.1--- a/sys/src/9/bcm/mem.h
     1.2+++ b/sys/src/9/bcm/mem.h
     1.3@@ -19,7 +19,7 @@
     1.4 #define	MACHSIZE	BY2PG
     1.5 #define L1SIZE		(4 * BY2PG)
     1.6 
     1.7-#define KSTKSIZE	(8*KiB)
     1.8+#define KSTACK		(8*KiB)
     1.9 #define STACKALIGN(sp)	((sp) & ~3)		/* bug: assure with alloc */
    1.10 
    1.11 /*
    1.12@@ -65,7 +65,6 @@
    1.13  * Legacy...
    1.14  */
    1.15 #define BLOCKALIGN	64			/* only used in allocb.c */
    1.16-#define KSTACK		KSTKSIZE
    1.17 
    1.18 /*
    1.19  * Sizes
     2.1--- a/sys/src/9/kw/mem.h
     2.2+++ b/sys/src/9/kw/mem.h
     2.3@@ -39,7 +39,7 @@
     2.4 #define	MAXMACH		1			/* max # cpus system can run */
     2.5 #define	MACHSIZE	BY2PG
     2.6 
     2.7-#define KSTKSIZE	(8*KiB)
     2.8+#define KSTACK		(8*KiB)
     2.9 #define STACKALIGN(sp)	((sp) & ~3)		/* bug: assure with alloc */
    2.10 
    2.11 /*
    2.12@@ -91,7 +91,6 @@
    2.13  * Legacy...
    2.14  */
    2.15 #define BLOCKALIGN	32			/* only used in allocb.c */
    2.16-#define KSTACK		KSTKSIZE
    2.17 
    2.18 /*
    2.19  * Sizes
     3.1--- a/sys/src/9/omap/mem.h
     3.2+++ b/sys/src/9/omap/mem.h
     3.3@@ -39,7 +39,7 @@
     3.4 #define	MAXMACH		1			/* max # cpus system can run */
     3.5 #define	MACHSIZE	BY2PG
     3.6 
     3.7-#define KSTKSIZE	(16*KiB)			/* was 8K */
     3.8+#define KSTACK		(16*KiB)			/* was 8K */
     3.9 #define STACKALIGN(sp)	((sp) & ~3)		/* bug: assure with alloc */
    3.10 
    3.11 /*
    3.12@@ -80,7 +80,6 @@
    3.13  * Legacy...
    3.14  */
    3.15 #define BLOCKALIGN	32			/* only used in allocb.c */
    3.16-#define KSTACK		KSTKSIZE
    3.17 
    3.18 /*
    3.19  * Sizes
     4.1--- a/sys/src/9/teg2/mem.h
     4.2+++ b/sys/src/9/teg2/mem.h
     4.3@@ -41,7 +41,7 @@
     4.4 #define	MACHSIZE	BY2PG
     4.5 #define L1SIZE		(4 * BY2PG)
     4.6 
     4.7-#define KSTKSIZE	(16*KiB)		/* was 8K */
     4.8+#define KSTACK		(16*KiB)		/* was 8K */
     4.9 #define STACKALIGN(sp)	((sp) & ~7)		/* bug: assure with alloc */
    4.10 
    4.11 /*
    4.12@@ -97,7 +97,6 @@
    4.13  * Legacy...
    4.14  */
    4.15 #define BLOCKALIGN	CACHELINESZ		/* only used in allocb.c */
    4.16-#define KSTACK		KSTKSIZE
    4.17 
    4.18 /*
    4.19  * Sizes