From 1645537cc142f2ad2d079b189e2a32efee990132 Mon Sep 17 00:00:00 2001 From: Daniel Leung Date: Thu, 25 May 2023 10:30:21 -0700 Subject: [PATCH] kernel: remove outdated comment in K_THREAD_DEFINE() The internal comment in K_THREAD_DEFINE() on alignment needed for x86 is outdated. The alignment is taken care of by the iterable sections in linker scripts. So remove. Signed-off-by: Daniel Leung --- include/zephyr/kernel.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/include/zephyr/kernel.h b/include/zephyr/kernel.h index 6844b5fb162f98..5df9a42e285f50 100644 --- a/include/zephyr/kernel.h +++ b/include/zephyr/kernel.h @@ -714,11 +714,6 @@ struct _static_thread_data { * affect anything in the OS per se, but consider it bad practice. * Use a SYS_INIT() callback if you need to run code before entrance * to the application main(). - * - * @internal It has been observed that the x86 compiler by default aligns - * these _static_thread_data structures to 32-byte boundaries, thereby - * wasting space. To work around this, force a 4-byte alignment. - * */ #define K_THREAD_DEFINE(name, stack_size, \ entry, p1, p2, p3, \