summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc/parse_data_structs.py
diff options
context:
space:
mode:
authorHuacai Chen <chenhuacai@loongson.cn>2025-12-06 10:39:40 +0800
committerHuacai Chen <chenhuacai@loongson.cn>2025-12-06 10:39:40 +0800
commit3c250aecef62da81deb38ac6738ac0a88d91f1fc (patch)
treed9cc42f3537f94baebaca6494d5ab4fa1312489c /tools/lib/python/kdoc/parse_data_structs.py
parent17fcc4bd7edcd74bae286754ac3a377c9886b3fd (diff)
LoongArch: Fix build errors for CONFIG_RANDSTRUCT
When CONFIG_RANDSTRUCT enabled, members of task_struct are randomized. There is a chance that TASK_STACK_CANARY be out of 12bit immediate's range and causes build errors. TASK_STACK_CANARY is naturally aligned, so fix it by replacing ld.d/st.d with ldptr.d/stptr.d which have 14bit immediates. Cc: stable@vger.kernel.org Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202511240656.0NaPcJs1-lkp@intel.com/ Suggested-by: Rui Wang <wangrui@loongson.cn> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'tools/lib/python/kdoc/parse_data_structs.py')
0 files changed, 0 insertions, 0 deletions