diff options
Diffstat (limited to 'include/linux/pfn_t.h')
-rw-r--r-- | include/linux/pfn_t.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/pfn_t.h b/include/linux/pfn_t.h index 01e8037023f7..2d9148221e9a 100644 --- a/include/linux/pfn_t.h +++ b/include/linux/pfn_t.h | |||
@@ -97,7 +97,7 @@ static inline pud_t pfn_t_pud(pfn_t pfn, pgprot_t pgprot) | |||
97 | #endif | 97 | #endif |
98 | #endif | 98 | #endif |
99 | 99 | ||
100 | #ifdef __HAVE_ARCH_PTE_DEVMAP | 100 | #ifdef CONFIG_ARCH_HAS_PTE_DEVMAP |
101 | static inline bool pfn_t_devmap(pfn_t pfn) | 101 | static inline bool pfn_t_devmap(pfn_t pfn) |
102 | { | 102 | { |
103 | const u64 flags = PFN_DEV|PFN_MAP; | 103 | const u64 flags = PFN_DEV|PFN_MAP; |
@@ -115,7 +115,7 @@ pmd_t pmd_mkdevmap(pmd_t pmd); | |||
115 | defined(CONFIG_HAVE_ARCH_TRANSPARENT_HUGEPAGE_PUD) | 115 | defined(CONFIG_HAVE_ARCH_TRANSPARENT_HUGEPAGE_PUD) |
116 | pud_t pud_mkdevmap(pud_t pud); | 116 | pud_t pud_mkdevmap(pud_t pud); |
117 | #endif | 117 | #endif |
118 | #endif /* __HAVE_ARCH_PTE_DEVMAP */ | 118 | #endif /* CONFIG_ARCH_HAS_PTE_DEVMAP */ |
119 | 119 | ||
120 | #ifdef CONFIG_ARCH_HAS_PTE_SPECIAL | 120 | #ifdef CONFIG_ARCH_HAS_PTE_SPECIAL |
121 | static inline bool pfn_t_special(pfn_t pfn) | 121 | static inline bool pfn_t_special(pfn_t pfn) |