diff options
author | Qinglin Pan <panqinglin2020@iscas.ac.cn> | 2022-01-27 10:48:41 +0800 |
---|---|---|
committer | Palmer Dabbelt <palmer@rivosinc.com> | 2022-02-14 16:32:39 -0800 |
commit | d10efa21a9374829a662ec1377237e85f430c024 (patch) | |
tree | d84406b277207ae9442e4785db251b2c20cdac98 /include/linux/fpga/fpga-mgr.h | |
parent | e783362eb54cd99b2cac8b3a9aeac942e6f6ac07 (diff) |
riscv: mm: Control p4d's folding by pgtable_l5_enabled
To determine pgtable level at boot time, we can not use helper functions
in include/asm-generic/pgtable-nop4d.h and must implement these
functions. This patch uses pgtable_l5_enabled variable instead of
including pgtable-nop4d.h to controle p4d's folding, and implements
corresponding helper functions.
Signed-off-by: Qinglin Pan <panqinglin2020@iscas.ac.cn>
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions