summaryrefslogtreecommitdiff
path: root/arch/loongarch/mm
diff options
context:
space:
mode:
authorBibo Mao <maobibo@loongson.cn>2023-09-06 17:53:09 +0300
committerHuacai Chen <chenhuacai@loongson.cn>2023-09-06 17:53:09 +0300
commitf33efa905ce4839d9d1f20b559db9c2e8a39e059 (patch)
tree8eced0db8d8ded991cbfb7668619c135af63e374 /arch/loongarch/mm
parentad3ff105611b9b06e16ae57e97b48916ff93dd46 (diff)
downloadlinux-f33efa905ce4839d9d1f20b559db9c2e8a39e059.tar.xz
LoongArch: Code improvements in function pcpu_populate_pte()
Do some code improvements in function pcpu_populate_pte(): 1. Add memory allocation failure handling; 2. Replace pgd_populate() with p4d_populate(), it will be useful if there are four-level page tables. Signed-off-by: Bibo Mao <maobibo@loongson.cn> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'arch/loongarch/mm')
0 files changed, 0 insertions, 0 deletions