aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mm.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/mm.h')
-rw-r--r--include/linux/mm.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/mm.h b/include/linux/mm.h
index a9902152449f..cd123272d28d 100644
--- a/include/linux/mm.h
+++ b/include/linux/mm.h
@@ -329,6 +329,13 @@ struct inode;
329#define page_private(page) ((page)->private) 329#define page_private(page) ((page)->private)
330#define set_page_private(page, v) ((page)->private = (v)) 330#define set_page_private(page, v) ((page)->private = (v))
331 331
332#if !defined(__HAVE_ARCH_PTE_DEVMAP) || !defined(CONFIG_TRANSPARENT_HUGEPAGE)
333static inline int pmd_devmap(pmd_t pmd)
334{
335 return 0;
336}
337#endif
338
332/* 339/*
333 * FIXME: take this include out, include page-flags.h in 340 * FIXME: take this include out, include page-flags.h in
334 * files which need it (119 of them) 341 * files which need it (119 of them)