mirror of
https://github.com/torvalds/linux.git
synced 2024-11-29 07:31:29 +00:00
2bb0529c0b
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 |
||
---|---|---|
.. | ||
configs | ||
hp/common | ||
include | ||
kernel | ||
lib | ||
mm | ||
pci | ||
scripts | ||
uv | ||
install.sh | ||
Kbuild | ||
Kconfig | ||
Kconfig.debug | ||
Makefile |