diff options
author | Bibo Mao <[email protected]> | 2023-09-06 22:53:09 +0800 |
---|---|---|
committer | Huacai Chen <[email protected]> | 2023-09-06 22:53:09 +0800 |
commit | 2bb20d2926a8ea991386315aa8017990ef7beb6a (patch) | |
tree | 8a052735e29b75bbdf6b59bfce471bcea40cee49 /net/unix/sysctl_net_unix.c | |
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 <[email protected]>
Signed-off-by: Huacai Chen <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions