limine/smp: Fix stack offset accidentally added twice

This commit is contained in:
mintsuki 2022-10-06 18:39:55 +02:00
parent 3d95c8960c
commit 4ba1b2fd9d
1 changed files with 1 additions and 1 deletions

View File

@ -922,7 +922,7 @@ FEAT_START
for (size_t i = 0; i < cpu_count; i++) {
void *cpu_stack = ext_mem_alloc(stack_size) + stack_size;
smp_info[i].reserved = reported_addr(cpu_stack + stack_size);
smp_info[i].reserved = reported_addr(cpu_stack);
}
struct limine_smp_response *smp_response =