diff options
| author | Will Deacon <will@kernel.org> | 2021-10-29 12:25:04 +0100 |
|---|---|---|
| committer | Will Deacon <will@kernel.org> | 2021-10-29 12:25:04 +0100 |
| commit | dc6bab18fb3c9dfde892cef2b1fe73565ff1f91a (patch) | |
| tree | 2d5305b31c94d0077ce9979dccd886b136fe4c6f /arch/arm64/include/asm/pgtable.h | |
| parent | 2bc655ce29422b94fcb4c9710d12664195897e42 (diff) | |
| parent | 8fac67ca236b961b573355e203dbaf62a706a2e5 (diff) | |
Merge branch 'for-next/mm' into for-next/core
* for-next/mm:
arm64: mm: update max_pfn after memory hotplug
arm64/mm: Add pud_sect_supported()
arm64: mm: Drop pointless call to set_max_mapnr()
Diffstat (limited to 'arch/arm64/include/asm/pgtable.h')
| -rw-r--r-- | arch/arm64/include/asm/pgtable.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/pgtable.h b/arch/arm64/include/asm/pgtable.h index dfa76afa0ccf..84fbb52b4224 100644 --- a/arch/arm64/include/asm/pgtable.h +++ b/arch/arm64/include/asm/pgtable.h @@ -1022,6 +1022,11 @@ static inline pgprot_t arch_filter_pgprot(pgprot_t prot) return PAGE_READONLY_EXEC; } +static inline bool pud_sect_supported(void) +{ + return PAGE_SIZE == SZ_4K; +} + #endif /* !__ASSEMBLY__ */ |
