diff options
-rw-r--r-- | arch/x86/kernel/process.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/arch/x86/kernel/process.c b/arch/x86/kernel/process.c index 90cf1250a005..7a7bd4e3ec49 100644 --- a/arch/x86/kernel/process.c +++ b/arch/x86/kernel/process.c | |||
@@ -94,18 +94,21 @@ void exit_thread(void) | |||
94 | 94 | ||
95 | void show_regs_common(void) | 95 | void show_regs_common(void) |
96 | { | 96 | { |
97 | const char *board; | 97 | const char *board, *product; |
98 | 98 | ||
99 | board = dmi_get_system_info(DMI_PRODUCT_NAME); | 99 | board = dmi_get_system_info(DMI_BOARD_NAME); |
100 | if (!board) | 100 | if (!board) |
101 | board = ""; | 101 | board = ""; |
102 | product = dmi_get_system_info(DMI_PRODUCT_NAME); | ||
103 | if (!product) | ||
104 | product = ""; | ||
102 | 105 | ||
103 | printk("\n"); | 106 | printk("\n"); |
104 | printk(KERN_INFO "Pid: %d, comm: %.20s %s %s %.*s %s\n", | 107 | printk(KERN_INFO "Pid: %d, comm: %.20s %s %s %.*s %s/%s\n", |
105 | current->pid, current->comm, print_tainted(), | 108 | current->pid, current->comm, print_tainted(), |
106 | init_utsname()->release, | 109 | init_utsname()->release, |
107 | (int)strcspn(init_utsname()->version, " "), | 110 | (int)strcspn(init_utsname()->version, " "), |
108 | init_utsname()->version, board); | 111 | init_utsname()->version, board, product); |
109 | } | 112 | } |
110 | 113 | ||
111 | void flush_thread(void) | 114 | void flush_thread(void) |