limine: Only acknowledge stack size req if new stack > default

This commit is contained in:
mintsuki 2022-05-07 17:11:11 +02:00
parent 8806f470dd
commit e836fb44de

View File

@ -383,7 +383,7 @@ FEAT_START
struct limine_stack_size_response *stack_size_response =
ext_mem_alloc(sizeof(struct limine_stack_size_response));
if (stack_size_request->stack_size != 0) {
if (stack_size_request->stack_size > stack_size) {
stack_size = stack_size_request->stack_size;
}