Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 88375
b: refs/heads/master
c: c4cbb34
h: refs/heads/master
i:
  88373: 88c9786
  88371: b4f3d93
  88367: e2dc299
v: v3
  • Loading branch information
David S. Miller committed Apr 16, 2008
1 parent 9c113a6 commit 2251a34
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 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: b358492cd2a9c67bff352c5a60d86e7fc9627477
refs/heads/master: c4cbb34bbdaaa841ef7c027f7b420db4c318c4fd
5 changes: 4 additions & 1 deletion trunk/drivers/net/netconsole.c
Original file line number Diff line number Diff line change
Expand Up @@ -730,7 +730,7 @@ static void write_msg(struct console *con, const char *msg, unsigned int len)

static struct console netconsole = {
.name = "netcon",
.flags = CON_ENABLED | CON_PRINTBUFFER,
.flags = CON_ENABLED,
.write = write_msg,
};

Expand All @@ -749,6 +749,9 @@ static int __init init_netconsole(void)
err = PTR_ERR(nt);
goto fail;
}
/* Dump existing printks when we register */
netconsole.flags |= CON_PRINTBUFFER;

spin_lock_irqsave(&target_list_lock, flags);
list_add(&nt->list, &target_list);
spin_unlock_irqrestore(&target_list_lock, flags);
Expand Down

0 comments on commit 2251a34

Please sign in to comment.