diff options
| author | 2021-04-30 16:28:48 +0800 | |
|---|---|---|
| committer | 2021-05-22 10:19:38 -0700 | |
| commit | 141682f5b9d658b5fba7c33cf8574329a7840cdc (patch) | |
| tree | 414c63b8c8d269007e06a0ea44e45b7eec9cbd8d /samples/git:/ssh:/git@git.zx2c4.com | |
| parent | riscv: mm: add _PAGE_LEAF macro (diff) | |
| download | linux-dev-141682f5b9d658b5fba7c33cf8574329a7840cdc.tar.xz linux-dev-141682f5b9d658b5fba7c33cf8574329a7840cdc.zip | |
riscv: mm: make pmd_bad() check leaf condition
In the definition in Documentation/vm/arch_pgtable_helpers.rst,
pmd_bad() means test a non-table mapped PMD, so it should also
return true when it is a leaf page.
Signed-off-by: Nanyong Sun <sunnanyong@huawei.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'samples/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
