diff options
author | Bibo Mao <maobibo@loongson.cn> | 2023-09-06 22:53:09 +0800 |
---|---|---|
committer | Huacai Chen <chenhuacai@loongson.cn> | 2023-09-06 22:53:09 +0800 |
commit | 2bb20d2926a8ea991386315aa8017990ef7beb6a (patch) | |
tree | 8a052735e29b75bbdf6b59bfce471bcea40cee49 /arch/loongarch/include/asm/pgtable.h | |
parent | f33efa905ce4839d9d1f20b559db9c2e8a39e059 (diff) |
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 'arch/loongarch/include/asm/pgtable.h')
0 files changed, 0 insertions, 0 deletions