aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorHuacai Chen <chenhuacai@loongson.cn>2024-07-20 22:41:07 +0800
committerHuacai Chen <chenhuacai@loongson.cn>2024-07-20 22:41:07 +0800
commit0124fbb4c6dba23dbdf80c829be68adbccde2722 (patch)
treee00be0e2528fc8ae95022a24287ee2c173e3e3b4 /scripts/generate_rust_analyzer.py
parentLoongArch: Automatically disable KASLR for hibernation (diff)
downloadlinux-rng-0124fbb4c6dba23dbdf80c829be68adbccde2722.tar.xz
linux-rng-0124fbb4c6dba23dbdf80c829be68adbccde2722.zip
LoongArch: Use correct API to map cmdline in relocate_kernel()
fw_arg1 is in memory space rather than I/O space, so we should use early_memremap_ro() instead of early_ioremap() to map the cmdline. Moreover, we should unmap it after using. Suggested-by: Jiaxun Yang <jiaxun.yang@flygoat.com> Reviewed-by: Jiaxun Yang <jiaxun.yang@flygoat.com> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions