Skip to content

Commit efe8ee1

Browse files
fancertsbogend
authored andcommitted
mips: Set dump-stack arch description
In the framework of the MIPS architecture the mips_set_machine_name() method is defined to set the machine name. The name currently is only used in the /proc/cpuinfo file content generation. Let's have it utilized to mach-personalize the dump-stack data too in a way it's done on ARM, ARM64, RISC-V, etc. Signed-off-by: Serge Semin <fancer.lancer@gmail.com> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
1 parent e540b8c commit efe8ee1

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

arch/mips/kernel/prom.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ __init void mips_set_machine_name(const char *name)
2828

2929
strscpy(mips_machine_name, name, sizeof(mips_machine_name));
3030
pr_info("MIPS: machine is %s\n", mips_get_machine_name());
31+
32+
dump_stack_set_arch_desc(name);
3133
}
3234

3335
char *mips_get_machine_name(void)

0 commit comments

Comments
 (0)