[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <200703310110.03985.blaisorblade@yahoo.it>
Date: Sat, 31 Mar 2007 01:10:03 +0200
From: Blaisorblade <blaisorblade@...oo.it>
To: user-mode-linux-devel@...ts.sourceforge.net
Cc: Jeff Dike <jdike@...toit.com>, Andrew Morton <akpm@...l.org>,
Davide Brini <davide.brini@...bo.it>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [uml-devel] [PATCH 1/2] UML - Fix umid in xterm titles
On venerdì 30 marzo 2007, Jeff Dike wrote:
> From: Davide Brini <davide.brini@...bo.it>
>
> Calls lines_init() *after* xterm_title is modified to include umid.
>
> Signed-off-by: Davide Brini <davide.brini@...bo.it>
> Signed-off-by: Jeff Dike <jdike@...ux.intel.com>
Acked-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@...oo.it>
> --
> arch/um/drivers/ssl.c | 4 ++--
> arch/um/drivers/stdio_console.c | 4 ++--
> 2 files changed, 4 insertions(+), 4 deletions(-)
>
> Index: linux-2.6.21-mm/arch/um/drivers/ssl.c
> ===================================================================
> --- linux-2.6.21-mm.orig/arch/um/drivers/ssl.c 2007-03-30
> 10:11:01.000000000 -0400 +++
> linux-2.6.21-mm/arch/um/drivers/ssl.c 2007-03-30 10:28:51.000000000 -0400
> @@ -191,12 +191,12 @@ static int ssl_init(void)
> ssl_driver = register_lines(&driver, &ssl_ops, serial_lines,
> ARRAY_SIZE(serial_lines));
>
> - lines_init(serial_lines, ARRAY_SIZE(serial_lines), &opts);
> -
> new_title = add_xterm_umid(opts.xterm_title);
> if (new_title != NULL)
> opts.xterm_title = new_title;
>
> + lines_init(serial_lines, ARRAY_SIZE(serial_lines), &opts);
> +
> ssl_init_done = 1;
> register_console(&ssl_cons);
> return 0;
> Index: linux-2.6.21-mm/arch/um/drivers/stdio_console.c
> ===================================================================
> --- linux-2.6.21-mm.orig/arch/um/drivers/stdio_console.c 2007-03-30
> 10:11:01.000000000 -0400 +++
> linux-2.6.21-mm/arch/um/drivers/stdio_console.c 2007-03-30
> 10:28:51.000000000 -0400 @@ -166,12 +166,12 @@ int stdio_init(void)
> return -1;
> printk(KERN_INFO "Initialized stdio console driver\n");
>
> - lines_init(vts, ARRAY_SIZE(vts), &opts);
> -
> new_title = add_xterm_umid(opts.xterm_title);
> if(new_title != NULL)
> opts.xterm_title = new_title;
>
> + lines_init(vts, ARRAY_SIZE(vts), &opts);
> +
> con_init_done = 1;
> register_console(&stdiocons);
> return 0;
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> User-mode-linux-devel mailing list
> User-mode-linux-devel@...ts.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
--
Inform me of my mistakes, so I can add them to my list!
Paolo Giarrusso, aka Blaisorblade
http://www.user-mode-linux.org/~blaisorblade
-
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