arch/intel64/stackframe.c: fix memset size

this is a follow up to the change from 2335b69120 which missed
updating stack frame length for this memset

Signed-off-by: p-szafonimateusz <p-szafonimateusz@xiaomi.com>
This commit is contained in:
p-szafonimateusz 2024-02-07 15:00:07 +01:00 committed by Alan Carvalho de Assis
parent a7fbf7c5cf
commit c3d41195c7

View File

@ -85,7 +85,7 @@ void *up_stack_frame(struct tcb_s *tcb, size_t frame_size)
}
ret = tcb->stack_base_ptr;
memset(ret, 0, tcb->adj_stack_size);
memset(ret, 0, frame_size);
/* Save the adjusted stack values in the struct tcb_s */