diff --git a/mm/early_ioremap.c b/mm/early_ioremap.c index 74984c23a87e0a55790d8c5efd329f7966df44b8..9bc12e526ed0b373d55ad07c0b617b10767f1204 100644 --- a/mm/early_ioremap.c +++ b/mm/early_ioremap.c @@ -17,6 +17,7 @@ #include #include #include +#include "internal.h" #ifdef CONFIG_MMU static int early_ioremap_debug __initdata; diff --git a/mm/internal.h b/mm/internal.h index f1554a4e249e4f5611c48d85d288773e99753511..00d6e3e3ec45d473ccd100a6847166007c016316 100644 --- a/mm/internal.h +++ b/mm/internal.h @@ -154,6 +154,12 @@ extern unsigned long highest_memmap_pfn; */ #define MAX_RECLAIM_RETRIES 16 +/* + * in mm/early_ioremap.c + */ +pgprot_t __init early_memremap_pgprot_adjust(resource_size_t phys_addr, + unsigned long size, pgprot_t prot); + /* * in mm/vmscan.c: */