Message ID | 1414499060-6350-1-git-send-email-ard.biesheuvel@linaro.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Tue, Oct 28, 2014 at 01:24:20PM +0100, Ard Biesheuvel wrote: > This installs the machine name as recorded by setup_machine_fdt() > as dump stack arch description. This results in the string to be > included in call stack dumps, as is shown here: Thanks, I've just added this to ARM as well.
diff --git a/arch/arm64/kernel/setup.c b/arch/arm64/kernel/setup.c index a6028490a28f..da5dd36e4353 100644 --- a/arch/arm64/kernel/setup.c +++ b/arch/arm64/kernel/setup.c @@ -312,6 +312,7 @@ static void __init setup_machine_fdt(phys_addr_t dt_phys) } machine_name = of_flat_dt_get_machine_name(); + dump_stack_set_arch_desc("%s (DT)", machine_name); } /*