Skip to content

Commit 2ec01bd

Browse files
benzeaIngo Molnar
authored andcommitted
vmlinux.lds.h: Remove entry to place init_task onto init_stack
Since commit 0eb5085 ("arch: remove ARCH_TASK_STRUCT_ON_STACK") there is no option that would allow placing task_struct on the stack. Remove the unused linker script entry. Signed-off-by: Benjamin Berg <benjamin.berg@intel.com> Signed-off-by: Ingo Molnar <mingo@kernel.org> Link: https://lore.kernel.org/r/20241217202745.1402932-2-benjamin@sipsolutions.net
1 parent bfc98db commit 2ec01bd

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

include/asm-generic/vmlinux.lds.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,6 @@ defined(CONFIG_AUTOFDO_CLANG) || defined(CONFIG_PROPELLER_CLANG)
404404
__start_init_stack = .; \
405405
init_thread_union = .; \
406406
init_stack = .; \
407-
KEEP(*(.data..init_task)) \
408407
KEEP(*(.data..init_thread_info)) \
409408
. = __start_init_stack + THREAD_SIZE; \
410409
__end_init_stack = .;

0 commit comments

Comments
 (0)