[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130219101437.GA3396@xo-6d-61-c0.localdomain>
Date: Tue, 19 Feb 2013 11:14:37 +0100
From: Pavel Machek <pavel@....cz>
To: "Kirill A. Shutemov" <kirill.shutemov@...ux.intel.com>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Jiri Slaby <jslaby@...e.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
Hi!
> --- 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);
> +
> /*
> * ignore_poke: don't unblank the screen when things are typed. This is
> * mainly for the privacy of braille terminal users.
> @@ -734,6 +737,7 @@ static void visual_init(struct vc_data *vc, int num, int init)
> __module_get(vc->vc_sw->owner);
> vc->vc_num = num;
> vc->vc_display_fg = &master_display_fg;
> + vc->vc_hidden = init_hide;
> vc->vc_uni_pagedir_loc = &vc->vc_uni_pagedir;
> vc->vc_uni_pagedir = 0;
> vc->vc_hi_font_mask = 0;
> @@ -2336,6 +2340,9 @@ static void console_callback(struct work_struct *ignored)
> if (want_console >= 0) {
> if (want_console != fg_console &&
> vc_cons_allocated(want_console)) {
> + if(want_console != SUSPEND_CONSOLE &&
"if (", please.
Otherwise looks ok.
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
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