]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
vmlinux.lds.h: Remove entry to place init_task onto init_stack
authorBenjamin Berg <benjamin.berg@intel.com>
Tue, 17 Dec 2024 20:27:43 +0000 (21:27 +0100)
committerIngo Molnar <mingo@kernel.org>
Wed, 26 Feb 2025 13:02:21 +0000 (14:02 +0100)
Since commit 0eb5085c3874 ("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
include/asm-generic/vmlinux.lds.h

index 02a4adb4a99992cd4c47c66123df23847fb12bc9..a1b04694a2cdf9cfa50e5deabd22c794d1c09b6a 100644 (file)
@@ -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 = .;