Home
last modified time | relevance | path

Searched hist:"60639 f74" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/include/asm-generic/
H A Dpgalloc.h60639f74 Mon Dec 06 04:46:50 CST 2021 Alexandre Ghiti <alexandre.ghiti@canonical.com> 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>