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 | f33efa905ce4839d9d1f20b559db9c2e8a39e059 (patch) | |
| tree | 8eced0db8d8ded991cbfb7668619c135af63e374 /scripts/generate_rust_analyzer.py | |
| parent | ad3ff105611b9b06e16ae57e97b48916ff93dd46 (diff) | |
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 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions
