diff options
author | 2025-02-20 10:35:34 +0530 | |
---|---|---|
committer | 2025-03-05 18:35:14 +0000 | |
commit | 34e8e63a6dc1e71350b7d93c7db3f0370f2b3d75 (patch) | |
tree | 4f92748b4e33a3632b46ef5f11d54d9eaf9408db /net/lapb/lapb_timer.c | |
parent | arm64/mm: Convert __pte_to_phys() and __phys_to_pte_val() as functions (diff) | |
download | wireguard-linux-34e8e63a6dc1e71350b7d93c7db3f0370f2b3d75.tar.xz wireguard-linux-34e8e63a6dc1e71350b7d93c7db3f0370f2b3d75.zip |
arm64/hugetlb: Consistently use pud_sect_supported()
Let's be consistent in using pud_sect_supported() for PUD_SIZE sized pages.
Hence change hugetlb_mask_last_page() and arch_make_huge_pte() as required.
Also re-arranged the switch statement for a common warning message.
Cc: Will Deacon <will@kernel.org>
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Anshuman Khandual <anshuman.khandual@arm.com>
Reviewed-by: Ryan Roberts <ryan.roberts@arm.com>
Link: https://lore.kernel.org/r/20250220050534.799645-1-anshuman.khandual@arm.com
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions