diff options
author | Kirill A. Shutemov <kirill.shutemov@linux.intel.com> | 2016-12-09 12:24:00 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-12-12 03:15:49 +0100 |
commit | acff7fdbc3c14c1f1a5e1eead99e412c5e9fe5a4 (patch) | |
tree | a2e06e7b722da441a7448977a298f5bb7d59a7e8 /arch/sparc/include | |
parent | sparc64: restore irq in error paths in iommu (diff) | |
download | linux-acff7fdbc3c14c1f1a5e1eead99e412c5e9fe5a4.tar.xz linux-acff7fdbc3c14c1f1a5e1eead99e412c5e9fe5a4.zip |
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 <kirill.shutemov@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/include')
-rw-r--r-- | arch/sparc/include/asm/pgtable_64.h | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |