parisc: Add hardware description to stack traces

Signed-off-by: Helge Deller <deller@gmx.de>
This commit is contained in:
Helge Deller 2018-08-21 08:15:42 +02:00
parent 8801ccb9fa
commit dbf2a4b1ff

View File

@ -288,6 +288,8 @@ void __init collect_boot_cpu_data(void)
printk(KERN_INFO "model %s\n", printk(KERN_INFO "model %s\n",
boot_cpu_data.pdc.sys_model_name); boot_cpu_data.pdc.sys_model_name);
dump_stack_set_arch_desc("%s", boot_cpu_data.pdc.sys_model_name);
boot_cpu_data.hversion = boot_cpu_data.pdc.model.hversion; boot_cpu_data.hversion = boot_cpu_data.pdc.model.hversion;
boot_cpu_data.sversion = boot_cpu_data.pdc.model.sversion; boot_cpu_data.sversion = boot_cpu_data.pdc.model.sversion;