From 248b00767d68ec1bb35ee1674d71ad1f54e34c1a Mon Sep 17 00:00:00 2001 From: Jiri Slaby Date: Thu, 4 Nov 2010 16:20:20 +0100 Subject: [PATCH] --- yaml --- r: 227052 b: refs/heads/master c: a75d946f42ae1771424a9582129fc5182ff48a1b h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/include/linux/console.h | 6 ++++++ trunk/kernel/printk.c | 6 ------ 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/[refs] b/[refs] index cffbea1d5b68..9d16a8e798ac 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 2adc2917ce4bfb482a6e3c05ff543cef151c9830 +refs/heads/master: a75d946f42ae1771424a9582129fc5182ff48a1b diff --git a/trunk/include/linux/console.h b/trunk/include/linux/console.h index 95cf6f08a59d..875cfb1c8132 100644 --- a/trunk/include/linux/console.h +++ b/trunk/include/linux/console.h @@ -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); diff --git a/trunk/kernel/printk.c b/trunk/kernel/printk.c index b2ebaee8c377..bf0420a92a1a 100644 --- a/trunk/kernel/printk.c +++ b/trunk/kernel/printk.c @@ -42,12 +42,6 @@ #include -/* - * 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: */