diff options
author | Bibo Mao <maobibo@loongson.cn> | 2023-09-06 17:53:09 +0300 |
---|---|---|
committer | Huacai Chen <chenhuacai@loongson.cn> | 2023-09-06 17:53:09 +0300 |
commit | f33efa905ce4839d9d1f20b559db9c2e8a39e059 (patch) | |
tree | 8eced0db8d8ded991cbfb7668619c135af63e374 /arch/loongarch/mm | |
parent | ad3ff105611b9b06e16ae57e97b48916ff93dd46 (diff) | |
download | linux-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