diff options
| author | Huacai Chen <chenhuacai@loongson.cn> | 2025-12-06 10:39:48 +0800 |
|---|---|---|
| committer | Huacai Chen <chenhuacai@loongson.cn> | 2025-12-06 10:39:48 +0800 |
| commit | a91b446e359aa96cc2655318789fd37441337415 (patch) | |
| tree | e283dbc2f63d12cb95f4c5a33222c17e26b729e6 /tools/docs/parse-headers.py | |
| parent | 3c250aecef62da81deb38ac6738ac0a88d91f1fc (diff) | |
LoongArch: Fix arch_dup_task_struct() for CONFIG_RANDSTRUCT
Now the optimized version of arch_dup_task_struct() for LoongArch
assumes 'thread' is the last member of 'task_struct'. But this is
not true if CONFIG_RANDSTRUCT is enabled after Linux-6.16.
So fix the arch_dup_task_struct() function for CONFIG_RANDSTRUCT by
copying the whole 'task_struct'.
Cc: stable@vger.kernel.org # 6.16+
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'tools/docs/parse-headers.py')
0 files changed, 0 insertions, 0 deletions
