[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <512370AD.6040901@suse.cz>
Date: Tue, 19 Feb 2013 13:31:41 +0100
From: Jiri Slaby <jslaby@...e.cz>
To: "Kirill A. Shutemov" <kirill.shutemov@...ux.intel.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Jiri Slaby <jslaby@...e.cz>
CC: Pavel Machek <pavel@....cz>, "Rafael J. Wysocki" <rjw@...k.pl>,
Len Brown <len.brown@...el.com>, linux-kernel@...r.kernel.org,
linux-pm@...r.kernel.org, Andy Ross <andy.ross@...driver.com>
Subject: Re: [PATCH] vt: add init_hide parameter to suppress boot output
On 02/19/2013 10:38 AM, Kirill A. Shutemov wrote:
> From: Andy Ross <andy.ross@...driver.com>
>
> When vt.init_hide=1 is set, suppress output on newly created consoles
> until an affirmative switched to that console. This prevents boot
> output from displaying (and clobbering splash screens, etc...) without
> disabling the console entirely.
>
> Signed-off-by: Andy Ross <andy.ross@...driver.com>
> Signed-off-by: Kirill A. Shutemov <kirill.shutemov@...ux.intel.com>
> ---
> drivers/tty/vt/vt.c | 7 +++++++
> include/linux/console_struct.h | 3 ++-
> include/linux/vt.h | 2 ++
> kernel/power/console.c | 2 --
> 4 files changed, 11 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/tty/vt/vt.c b/drivers/tty/vt/vt.c
> index 8fd8968..3966ff5 100644
> --- a/drivers/tty/vt/vt.c
> +++ b/drivers/tty/vt/vt.c
> @@ -165,6 +165,9 @@ module_param(global_cursor_default, int, S_IRUGO | S_IWUSR);
> static int cur_default = CUR_DEFAULT;
> module_param(cur_default, int, S_IRUGO | S_IWUSR);
>
> +static int init_hide;
> +module_param(init_hide, int, S_IRUGO);
So this should actually be a bool, right? Could you change that
appropriately?
thanks,
--
js
suse labs
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists