diff options
author | Alexandre Ghiti | 2021-12-06 11:46:50 +0100 |
---|---|---|
committer | Palmer Dabbelt | 2022-01-19 17:54:08 -0800 |
commit | 60639f74c2f4fcc3ffa2ac0b120eaa874ccc713f (patch) | |
tree | fad7008b86a5a38798d7a3a64446cabbb58ee9ba /fs/efivarfs | |
parent | 3270bfdb9e4a01bb15d018612a6354c1837b5f97 (diff) |
asm-generic: Prepare for riscv use of pud_alloc_one and pud_free
In the following commits, riscv will almost use the generic versions of
pud_alloc_one and pud_free but an additional check is required since those
functions are only relevant when using at least a 4-level page table, which
will be determined at runtime on riscv.
So move the content of those functions into other functions that riscv
can use without duplicating code.
Signed-off-by: Alexandre Ghiti <alexandre.ghiti@canonical.com>
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'fs/efivarfs')
0 files changed, 0 insertions, 0 deletions