Home
last modified time | relevance | path

Searched hist:"2 bb0529c0bc0698f3baf3e88ffd61a18eef252a7" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/arch/ia64/include/asm/
H A Dthread_info.hdiff 2bb0529c0bc0698f3baf3e88ffd61a18eef252a7 Thu Feb 17 04:24:01 CST 2022 Sebastian Andrzej Siewior <bigeasy@linutronix.de> fork, IA64: Provide alloc_thread_stack_node() for IA64

Provide a generic alloc_thread_stack_node() for IA64 and
CONFIG_ARCH_THREAD_STACK_ALLOCATOR which returns stack pointer and sets
task_struct::stack so it behaves exactly like the other implementations.

Rename IA64's alloc_thread_stack_node() and add the generic version to the
fork code so it is in one place _and_ to drastically lower the chances of
fat fingering the IA64 code. Do the same for free_thread_stack().

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Andy Lutomirski <luto@kernel.org>
Link: https://lore.kernel.org/r/20220217102406.3697941-4-bigeasy@linutronix.de
/openbmc/linux/kernel/
H A Dfork.cdiff 2bb0529c0bc0698f3baf3e88ffd61a18eef252a7 Thu Feb 17 04:24:01 CST 2022 Sebastian Andrzej Siewior <bigeasy@linutronix.de> fork, IA64: Provide alloc_thread_stack_node() for IA64

Provide a generic alloc_thread_stack_node() for IA64 and
CONFIG_ARCH_THREAD_STACK_ALLOCATOR which returns stack pointer and sets
task_struct::stack so it behaves exactly like the other implementations.

Rename IA64's alloc_thread_stack_node() and add the generic version to the
fork code so it is in one place _and_ to drastically lower the chances of
fat fingering the IA64 code. Do the same for free_thread_stack().

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Andy Lutomirski <luto@kernel.org>
Link: https://lore.kernel.org/r/20220217102406.3697941-4-bigeasy@linutronix.de