kernel: get rid of KSTKSIZE alias for KSTACK

This commit is contained in:
cinap_lenrek 2019-04-11 14:05:23 +02:00
parent f4f19cdf1a
commit 9ae99fb5ad
4 changed files with 4 additions and 8 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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