The patch titled Subject: kexec: crash: don't save swapper_pg_dir for !CONFIG_MMU configurations has been added to the -mm tree. Its filename is kexec-crash-dont-save-swapper_pg_dir-for-config_mmu-configurations.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: Will Deacon <will.deacon@xxxxxxx> Subject: kexec: crash: don't save swapper_pg_dir for !CONFIG_MMU configurations nommu platforms don't have very interesting swapper_pg_dir pointers and usually just #define them to NULL, meaning that we can't include them in the vmcoreinfo on the kexec crash path. This patch only saves the swapper_pg_dir if we have an MMU. Signed-off-by: Will Deacon <will.deacon@xxxxxxx> Reviewed-by: Simon Horman <horms@xxxxxxxxxxxx> Cc: "Eric W. Biederman" <ebiederm@xxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- kernel/kexec.c | 2 ++ 1 file changed, 2 insertions(+) diff -puN kernel/kexec.c~kexec-crash-dont-save-swapper_pg_dir-for-config_mmu-configurations kernel/kexec.c --- a/kernel/kexec.c~kexec-crash-dont-save-swapper_pg_dir-for-config_mmu-configurations +++ a/kernel/kexec.c @@ -1462,7 +1462,9 @@ static int __init crash_save_vmcoreinfo_ VMCOREINFO_SYMBOL(init_uts_ns); VMCOREINFO_SYMBOL(node_online_map); +#ifdef CONFIG_MMU VMCOREINFO_SYMBOL(swapper_pg_dir); +#endif VMCOREINFO_SYMBOL(_stext); VMCOREINFO_SYMBOL(vmlist); _ Subject: Subject: kexec: crash: don't save swapper_pg_dir for !CONFIG_MMU configurations Patches currently in -mm which might be from will.deacon@xxxxxxx are linux-next.patch arm-use-set_current_blocked-and-block_sigmask.patch kexec-crash-dont-save-swapper_pg_dir-for-config_mmu-configurations.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