Skip to content

Commit 5845e70

Browse files
Xujun Lengctmarinas
authored andcommitted
arm64: mm: fix comment typo of pud_offset_phys()
Fix a typo in the comment of macro pud_offset_phys(). Signed-off-by: Xujun Leng <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Catalin Marinas <[email protected]>
1 parent 24de583 commit 5845e70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/arm64/include/asm/pgtable.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -715,7 +715,7 @@ static inline pud_t *p4d_pgtable(p4d_t p4d)
715715
return (pud_t *)__va(p4d_page_paddr(p4d));
716716
}
717717

718-
/* Find an entry in the frst-level page table. */
718+
/* Find an entry in the first-level page table. */
719719
#define pud_offset_phys(dir, addr) (p4d_page_paddr(READ_ONCE(*(dir))) + pud_index(addr) * sizeof(pud_t))
720720

721721
#define pud_set_fixmap(addr) ((pud_t *)set_fixmap_offset(FIX_PUD, addr))

0 commit comments

Comments
 (0)