Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 227052
b: refs/heads/master
c: a75d946
h: refs/heads/master
v: v3
  • Loading branch information
Jiri Slaby authored and Greg Kroah-Hartman committed Nov 16, 2010
1 parent 5089138 commit 248b007
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 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: 2adc2917ce4bfb482a6e3c05ff543cef151c9830
refs/heads/master: a75d946f42ae1771424a9582129fc5182ff48a1b
6 changes: 6 additions & 0 deletions trunk/include/linux/console.h
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,12 @@ struct console {
struct console *next;
};

/*
* for_each_console() allows you to iterate on each console
*/
#define for_each_console(con) \
for (con = console_drivers; con != NULL; con = con->next)

extern int console_set_on_cmdline;

extern int add_preferred_console(char *name, int idx, char *options);
Expand Down
6 changes: 0 additions & 6 deletions trunk/kernel/printk.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,6 @@

#include <asm/uaccess.h>

/*
* for_each_console() allows you to iterate on each console
*/
#define for_each_console(con) \
for (con = console_drivers; con != NULL; con = con->next)

/*
* Architectures can override it:
*/
Expand Down

0 comments on commit 248b007

Please sign in to comment.