diff options
| author | Sebastian Andrzej Siewior <[email protected]> | 2022-02-17 10:24:02 +0000 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2022-02-22 21:25:01 +0000 |
| commit | 7865aba3ade4cf30f0ac08e015550084a50d9afb (patch) | |
| tree | 328abd30b1346738707ab6882b39a0e1089bf808 /drivers/acpi/cppc_acpi.c | |
| parent | fork, IA64: Provide alloc_thread_stack_node() for IA64 (diff) | |
| download | kernel-7865aba3ade4cf30f0ac08e015550084a50d9afb.tar.gz kernel-7865aba3ade4cf30f0ac08e015550084a50d9afb.zip | |
fork: Don't assign the stack pointer in dup_task_struct()
All four versions of alloc_thread_stack_node() assign now
task_struct::stack in case the allocation was successful.
Let alloc_thread_stack_node() return an error code instead of the stack
pointer and remove the stack assignment in dup_task_struct().
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
