lkml.org 
[lkml]   [2005]   [Dec]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch 1/2] uml/xen: make the vt subsystem a runtime option
Christoph Hellwig wrote:
> On Tue, Dec 13, 2005 at 04:06:52PM +0100, Gerd Knorr wrote:
>> #ifdef CONFIG_VT
>> - if (device == MKDEV(TTY_MAJOR,0)) {
>> + if (console_use_vt && device == MKDEV(TTY_MAJOR,0)) {
>
> You don't register a cdev for this one below, so this can't be reached.

It can be reached in uml kernels. Unless the vt subsystem is enabled
the uml kernel registeres a uml-specific tty driver with major #5 (see
arch/um/drivers/stdio_console.c).

cheers,

Gerd
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-12-13 16:34    [from the cache]
©2003-2011 Jasper Spaans