aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <mikisabate@gmail.com>2024-12-03 07:41:45 +0100
committerMiquel Sabaté Solà <mikisabate@gmail.com>2024-12-03 07:41:45 +0100
commit58fcecc381be82992f718a6ef9bf7ddcd3bca369 (patch)
treedb3fedc5bc6ea2eef84ae9f8951a84a088d9721e /test
parent7b1b8ebb48174445083bc7fa336dc00619cbf126 (diff)
downloadfbos-58fcecc381be82992f718a6ef9bf7ddcd3bca369.tar.gz
fbos-58fcecc381be82992f718a6ef9bf7ddcd3bca369.zip
Simplify the constant on the size of the stack
At the beginning I carried over things from the Linux kernel just in case I would need them in the future. As this project is very much at a stage where I'm already happy with it, let's remove unneeded complexity. Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
Diffstat (limited to 'test')
-rw-r--r--test/test_initrd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_initrd.c b/test/test_initrd.c
index 3d07b67..fb5197b 100644
--- a/test/test_initrd.c
+++ b/test/test_initrd.c
@@ -6,7 +6,7 @@
#include <fbos/sched.h>
#include <fbos/mm.h>
-unsigned long stack[THREAD_SIZE / sizeof(unsigned long)];
+unsigned long stack[STACK_SIZE / sizeof(unsigned long)];
struct task_struct tasks[4] = {
[TASK_INIT] = { .stack = stack, .entry_addr = NULL, },