summaryrefslogtreecommitdiffstats
path: root/kernel/gen_kheaders.sh
diff options
context:
space:
mode:
authorTong Tiangen <tongtiangen@huawei.com>2022-05-17 07:45:47 +0000
committerakpm <akpm@linux-foundation.org>2022-05-19 14:08:48 -0700
commit2c8a81dc0cc533c666c64f4139a608b0ae55d96f (patch)
tree2d0c4b6c09a7d7b873d828b5eaf498fdf6950a79 /kernel/gen_kheaders.sh
parentbbe832b9db2e1ad21522f8f0bf02775fff8a0e0e (diff)
downloadlinux-2c8a81dc0cc533c666c64f4139a608b0ae55d96f.tar.gz
linux-2c8a81dc0cc533c666c64f4139a608b0ae55d96f.tar.bz2
linux-2c8a81dc0cc533c666c64f4139a608b0ae55d96f.zip
riscv/mm: fix two page table check related issues
Two page table check related issues have been fixed here. 1. Open CONFIG_PAGE_TABLE_CHECK in riscv32, we got a compile error[1]: error: implicit declaration of function 'pud_leaf' Add pud_leaf() definition to incluce/asm-generic/pgtable-nopmd.h to fix this issue. 2. Keep consistent with other pud_xxx() helpers, move pud_user() to pgtable-64.h and add pud_user() to pgtable-nopmd.h. [1]https://lore.kernel.org/linux-mm/202205161811.2nLxmN2O-lkp@intel.com/T/ Link: https://lkml.kernel.org/r/20220517074548.2227779-2-tongtiangen@huawei.com Fixes: 856eed79f8d3 ("riscv/mm: enable ARCH_SUPPORTS_PAGE_TABLE_CHECK") Signed-off-by: Tong Tiangen <tongtiangen@huawei.com> Reported-by: kernel test robot <lkp@intel.com> Cc: Anshuman Khandual <anshuman.khandual@arm.com> Cc: Pasha Tatashin <pasha.tatashin@soleen.com> Cc: Anshuman Khandual <anshuman.khandual@arm.com> Cc: Albert Ou <aou@eecs.berkeley.edu> Cc: Arnd Bergmann <arnd@arndb.de> Cc: Catalin Marinas <catalin.marinas@arm.com> Cc: Guohanjun <guohanjun@huawei.com> Cc: Palmer Dabbelt <palmer@dabbelt.com> Cc: Paul Walmsley <paul.walmsley@sifive.com> Cc: Will Deacon <will@kernel.org> Cc: Xie XiuQi <xiexiuqi@huawei.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'kernel/gen_kheaders.sh')
0 files changed, 0 insertions, 0 deletions