All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] sparc64: fix typo in pgd_clear()
@ 2016-12-09 11:24 Kirill A. Shutemov
  2016-12-12  2:19 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Kirill A. Shutemov @ 2016-12-09 11:24 UTC (permalink / raw)
  To: sparclinux

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 <kirill.shutemov@linux.intel.com>
---
 arch/sparc/include/asm/pgtable_64.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/sparc/include/asm/pgtable_64.h b/arch/sparc/include/asm/pgtable_64.h
index 1fb317fbc0b3..314b66851348 100644
--- a/arch/sparc/include/asm/pgtable_64.h
+++ b/arch/sparc/include/asm/pgtable_64.h
@@ -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)
 {
-- 
2.10.2


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] sparc64: fix typo in pgd_clear()
  2016-12-09 11:24 [PATCH] sparc64: fix typo in pgd_clear() Kirill A. Shutemov
@ 2016-12-12  2:19 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2016-12-12  2:19 UTC (permalink / raw)
  To: sparclinux

From: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>
Date: Fri,  9 Dec 2016 14:24:00 +0300

> 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 <kirill.shutemov@linux.intel.com>

Applied.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-12-12  2:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-09 11:24 [PATCH] sparc64: fix typo in pgd_clear() Kirill A. Shutemov
2016-12-12  2:19 ` David Miller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.