summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-05-11 16:13:10 (GMT)
committerAl Viro <viro@zeniv.linux.org.uk>2013-06-29 08:46:35 (GMT)
commit40d158e61840fbbe23be3f37302a3ca237c15491 (patch)
tree0421101a49c3a8e639437a6fb8a162b2bcc077ea /include
parent605c912bb843c024b1ed173dc427cd5c08e5d54d (diff)
downloadlinux-40d158e61840fbbe23be3f37302a3ca237c15491.tar.xz
consolidate io_remap_pfn_range definitions
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include')
-rw-r--r--include/asm-generic/pgtable.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-generic/pgtable.h b/include/asm-generic/pgtable.h
index a59ff51..b183698 100644
--- a/include/asm-generic/pgtable.h
+++ b/include/asm-generic/pgtable.h
@@ -692,4 +692,8 @@ static inline pmd_t pmd_mknuma(pmd_t pmd)
#endif /* !__ASSEMBLY__ */
+#ifndef io_remap_pfn_range
+#define io_remap_pfn_range remap_pfn_range
+#endif
+
#endif /* _ASM_GENERIC_PGTABLE_H */