path: root/mm/ioremap.c
diff options
authorJoerg Roedel <>2020-08-06 23:22:55 -0700
committerLinus Torvalds <>2020-08-07 11:33:26 -0700
commit2a681cfa5bb41e78e7bfafbb748b581374ce9b1d (patch)
tree77d0253f2904884a9d7e7a7da8ce0e47d0963293 /mm/ioremap.c
parentab05eabfa18a6a537a73408642177e4a803317dc (diff)
mm: move p?d_alloc_track to separate header file
The functions are only used in two source files, so there is no need for them to be in the global <linux/mm.h> header. Move them to the new <linux/pgalloc-track.h> header and include it only where needed. Signed-off-by: Joerg Roedel <> Signed-off-by: Andrew Morton <> Reviewed-by: Pekka Enberg <> Cc: Peter Zijlstra (Intel) <> Cc: Andy Lutomirski <> Cc: Abdul Haleem <> Cc: Satheesh Rajendran <> Cc: Stephen Rothwell <> Cc: Steven Rostedt (VMware) <> Cc: Mike Rapoport <> Cc: Christophe Leroy <> Cc: Arnd Bergmann <> Cc: Max Filippov <> Cc: Stafford Horne <> Cc: Geert Uytterhoeven <> Cc: Matthew Wilcox <> Link: Signed-off-by: Linus Torvalds <>
Diffstat (limited to 'mm/ioremap.c')
1 files changed, 2 insertions, 0 deletions
diff --git a/mm/ioremap.c b/mm/ioremap.c
index 5ee3526f71b8..5fa1ab41d152 100644
--- a/mm/ioremap.c
+++ b/mm/ioremap.c
@@ -13,6 +13,8 @@
#include <linux/export.h>
#include <asm/cacheflush.h>
+#include "pgalloc-track.h"
static int __read_mostly ioremap_p4d_capable;
static int __read_mostly ioremap_pud_capable;