linux/arch/loongarch/include
Huacai Chen 7917d16d14 LoongArch: Increase TASK_STRUCT_OFFSET up to 2040 for 32BIT
THREAD_INFO_IN_TASK increase the size of task_struct, which casuses a
build error for the 32BIT kernel if RANDSTRUCT is enabled. So increase
TASK_STRUCT_OFFSET as big as possible (2040), but can still be aligned
and be fit in the addi.w instruction.

Cc: stable@vger.kernel.org
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
2026-07-23 22:27:15 +08:00
..
asm LoongArch: Increase TASK_STRUCT_OFFSET up to 2040 for 32BIT 2026-07-23 22:27:15 +08:00
uapi/asm LoongArch changes for v7.1 2026-04-24 09:54:45 -07:00