Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 175460
b: refs/heads/master
c: a1884b8
h: refs/heads/master
v: v3
  • Loading branch information
Andy Isaacson authored and Ingo Molnar committed Dec 9, 2009
1 parent fe8e16d commit 16e3986
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 814e2c84a722c45650a9b8f52285d7ba6874f63b
refs/heads/master: a1884b8e558ef6395f6033f9e1b69b332dd040e0
11 changes: 7 additions & 4 deletions trunk/arch/x86/kernel/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -94,18 +94,21 @@ void exit_thread(void)

void show_regs_common(void)
{
const char *board;
const char *board, *product;

board = dmi_get_system_info(DMI_PRODUCT_NAME);
board = dmi_get_system_info(DMI_BOARD_NAME);
if (!board)
board = "";
product = dmi_get_system_info(DMI_PRODUCT_NAME);
if (!product)
product = "";

printk("\n");
printk(KERN_INFO "Pid: %d, comm: %.20s %s %s %.*s %s\n",
printk(KERN_INFO "Pid: %d, comm: %.20s %s %s %.*s %s/%s\n",
current->pid, current->comm, print_tainted(),
init_utsname()->release,
(int)strcspn(init_utsname()->version, " "),
init_utsname()->version, board);
init_utsname()->version, board, product);
}

void flush_thread(void)
Expand Down

0 comments on commit 16e3986

Please sign in to comment.