The patch titled Subject: mm/early_ioremap: add explicit #include of asm/early_ioremap.h has been added to the -mm tree. Its filename is mm-early_ioremap-add-explicit-include-of-asm-early_ioremaph.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/mm-early_ioremap-add-explicit-include-of-asm-early_ioremaph.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/mm-early_ioremap-add-explicit-include-of-asm-early_ioremaph.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Ard Biesheuvel <ard.biesheuvel@xxxxxxxxxx> Subject: mm/early_ioremap: add explicit #include of asm/early_ioremap.h Commit 6b0f68e32ea8 ("mm: add utility for early copy from unmapped ram") introduces a function copy_from_early_mem() into mm/early_ioremap.c which itself calls early_memremap()/early_memunmap(). However, since early_memunmap() has not been declared yet at this point in the .c file, nor by any explicitly included header files, we are depending on a transitive include of asm/early_ioremap.h to declare it, which is fragile. So instead, include this header explicitly. Signed-off-by: Ard Biesheuvel <ard.biesheuvel@xxxxxxxxxx> Acked-by: Mark Salter <msalter@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/early_ioremap.c | 1 + 1 file changed, 1 insertion(+) diff -puN mm/early_ioremap.c~mm-early_ioremap-add-explicit-include-of-asm-early_ioremaph mm/early_ioremap.c --- a/mm/early_ioremap.c~mm-early_ioremap-add-explicit-include-of-asm-early_ioremaph +++ a/mm/early_ioremap.c @@ -15,6 +15,7 @@ #include <linux/mm.h> #include <linux/vmalloc.h> #include <asm/fixmap.h> +#include <asm/early_ioremap.h> #ifdef CONFIG_MMU static int early_ioremap_debug __initdata; _ Patches currently in -mm which might be from ard.biesheuvel@xxxxxxxxxx are mm-early_ioremap-add-explicit-include-of-asm-early_ioremaph.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html