aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_dynamic_debug.c
diff options
context:
space:
mode:
authorBibo Mao <maobibo@loongson.cn>2023-09-06 22:53:09 +0800
committerHuacai Chen <chenhuacai@loongson.cn>2023-09-06 22:53:09 +0800
commit2bb20d2926a8ea991386315aa8017990ef7beb6a (patch)
tree8a052735e29b75bbdf6b59bfce471bcea40cee49 /lib/test_dynamic_debug.c
parentLoongArch: Code improvements in function pcpu_populate_pte() (diff)
downloadlinux-rng-2bb20d2926a8ea991386315aa8017990ef7beb6a.tar.xz
linux-rng-2bb20d2926a8ea991386315aa8017990ef7beb6a.zip
LoongArch: mm: Introduce unified function populate_kernel_pte()
Function pcpu_populate_pte() and fixmap_pte() are similar, they populate one page from kernel address space. And there is confusion between pgd and p4d in the function fixmap_pte(), such as pgd_none() always returns zero. This patch introduces a unified function populate_kernel_pte() and then replaces pcpu_populate_pte() and fixmap_pte(). Signed-off-by: Bibo Mao <maobibo@loongson.cn> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'lib/test_dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions