aboutsummaryrefslogtreecommitdiffstats
path: root/arch/nds32/include/asm/pgtable.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <[email protected]>2020-01-21 18:36:59 +0000
committerGreg Kroah-Hartman <[email protected]>2020-01-21 18:36:59 +0000
commitdd7d99dc688d0fc448976f52f8517fbdeccdccda (patch)
tree4ad59de5d584cf03e772ee153260c24ba0d717bd /arch/nds32/include/asm/pgtable.h
parentphy: ti: j721e-wiz: Fix build error without CONFIG_OF_ADDRESS (diff)
parentLinux 5.5-rc7 (diff)
downloadkernel-dd7d99dc688d0fc448976f52f8517fbdeccdccda.tar.gz
kernel-dd7d99dc688d0fc448976f52f8517fbdeccdccda.zip
Merge 5.5-rc7 into usb-next
We need the USB fixes in here as well. Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'arch/nds32/include/asm/pgtable.h')
-rw-r--r--arch/nds32/include/asm/pgtable.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/nds32/include/asm/pgtable.h b/arch/nds32/include/asm/pgtable.h
index 0214e4150539..6abc58ac406d 100644
--- a/arch/nds32/include/asm/pgtable.h
+++ b/arch/nds32/include/asm/pgtable.h
@@ -195,7 +195,7 @@ extern void paging_init(void);
#define pte_unmap(pte) do { } while (0)
#define pte_unmap_nested(pte) do { } while (0)
-#define pmd_off_k(address) pmd_offset(pgd_offset_k(address), address)
+#define pmd_off_k(address) pmd_offset(pud_offset(p4d_offset(pgd_offset_k(address), (address)), (address)), (address))
#define set_pte_at(mm,addr,ptep,pteval) set_pte(ptep,pteval)
/*