Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 88363
b: refs/heads/master
c: 0517dee
h: refs/heads/master
i:
  88361: 924d75e
  88359: 604ff5b
v: v3
  • Loading branch information
Michael Ellerman authored and David S. Miller committed Apr 15, 2008
1 parent 66800cf commit 84c2119
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: 56690c2151d33534f0537fd03c533eda81d96f0f
refs/heads/master: 0517deed78be9cc9ce9799bf15da58fd0d2078bb
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 84c2119

Please sign in to comment.