Gutsy [PATCH 001/001] CONFIG_PM_DISABLE_CONSOLE

Ben Collins ben.collins at ubuntu.com
Tue Apr 24 14:35:01 UTC 2007


On Tue, 2007-04-24 at 08:12 -0600, Tim Gardner wrote:
>         +#ifndef CONFIG_PM_DISABLE_CONSOLE
>                 acquire_console_sem();
>          
>                 orig_fgconsole = fg_console;
>         @@ -44,15 +45,18 @@ int pm_prepare_console(void)
>                 }
>                 orig_kmsg = kmsg_redirect;
>                 kmsg_redirect = SUSPEND_CONSOLE;
>         +#endif
>                 return 0;
>          }

I've been thinking this may be better implemented with a variable that's
configurable with a kernel cmdline option. The CONFIG_PM_DISABLE_CONSOLE
could be used to set the default. Might make it easier to get merged
upstream as well.

-- 
Ubuntu:    http://www.ubuntu.com/
Linux1394: http://www.linux1394.org/





More information about the kernel-team mailing list