aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/cppc_acpi.c
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <[email protected]>2022-02-17 10:24:01 +0000
committerThomas Gleixner <[email protected]>2022-02-22 21:25:01 +0000
commit2bb0529c0bc0698f3baf3e88ffd61a18eef252a7 (patch)
tree6d14fd0972b9bd98fc5fd450839add3743bb49fb /drivers/acpi/cppc_acpi.c
parentfork: Duplicate task_struct before stack allocation (diff)
downloadkernel-2bb0529c0bc0698f3baf3e88ffd61a18eef252a7.tar.gz
kernel-2bb0529c0bc0698f3baf3e88ffd61a18eef252a7.zip
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 <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Acked-by: Andy Lutomirski <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/acpi/cppc_acpi.c')
0 files changed, 0 insertions, 0 deletions