diff options
Diffstat (limited to 'drivers/firmware/dmi_scan.c')
-rw-r--r-- | drivers/firmware/dmi_scan.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/firmware/dmi_scan.c b/drivers/firmware/dmi_scan.c index 862b1d27a85b..98c62081c034 100644 --- a/drivers/firmware/dmi_scan.c +++ b/drivers/firmware/dmi_scan.c | |||
@@ -531,6 +531,19 @@ void __init dmi_scan_machine(void) | |||
531 | } | 531 | } |
532 | 532 | ||
533 | /** | 533 | /** |
534 | * dmi_set_dump_stack_arch_desc - set arch description for dump_stack() | ||
535 | * | ||
536 | * Invoke dump_stack_set_arch_desc() with DMI system information so that | ||
537 | * DMI identifiers are printed out on task dumps. Arch boot code should | ||
538 | * call this function after dmi_scan_machine() if it wants to print out DMI | ||
539 | * identifiers on task dumps. | ||
540 | */ | ||
541 | void __init dmi_set_dump_stack_arch_desc(void) | ||
542 | { | ||
543 | dump_stack_set_arch_desc("%s", dmi_ids_string); | ||
544 | } | ||
545 | |||
546 | /** | ||
534 | * dmi_matches - check if dmi_system_id structure matches system DMI data | 547 | * dmi_matches - check if dmi_system_id structure matches system DMI data |
535 | * @dmi: pointer to the dmi_system_id structure to check | 548 | * @dmi: pointer to the dmi_system_id structure to check |
536 | */ | 549 | */ |