Skip to content

Commit

Permalink
vmlinux.lds.h: Remove entry to place init_task onto init_stack
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Benjamin Berg authored and Ingo Molnar committed Feb 26, 2025
1 parent bfc98db commit 2ec01bd
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion include/asm-generic/vmlinux.lds.h
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,6 @@ defined(CONFIG_AUTOFDO_CLANG) || defined(CONFIG_PROPELLER_CLANG)
__start_init_stack = .; \
init_thread_union = .; \
init_stack = .; \
KEEP(*(.data..init_task)) \
KEEP(*(.data..init_thread_info)) \
. = __start_init_stack + THREAD_SIZE; \
__end_init_stack = .;
Expand Down

0 comments on commit 2ec01bd

Please sign in to comment.