sparc64: fix typo in pgd_clear()
PATCH 1/1 sparc64: fix typo in pgd_clear()
It really has to be pgdp, not pgd.
It just happend to work since all callers have 'pgd' as an argument.
Signed-off-by Kirill A. Shutemov <[email protected]>
--- arch/sparc/include/asm/pgtable_64.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/sparc/include/asm/pgtable_64.h +1 -1
@@ -826,7 +826,7 @@ static inline unsigned long __pmd_page(pmd_t pmd)#define pgd_page_vaddr (pgd) \ ((unsigned long) __va(pgd_val(pgd)))#define pgd_present (pgd) (pgd_val(pgd) != 0U) -#define pgd_clear (pgdp) (pgd_val(*(pgd)) = 0UL) +#define pgd_clear (pgdp) (pgd_val(*(pgdp)) = 0UL)static inline unsigned long pud_large (pud_t pud) {
Signature · 1 line
2.10.2
From: "Kirill A. Shutemov" <[email protected]>
Date: Fri, 9 Dec 2016 14:24:00 +0300
Quoted 5 lines
It really has to be pgdp, not pgd.
It just happend to work since all callers have 'pgd' as an argument.
Signed-off-by Kirill A. Shutemov <[email protected]>
Applied.