Re: [patch 1/2] uml/xen: make the vt subsystem a runtime option

From: Gerd Knorr
Date: Tue Dec 13 2005 - 10:31:38 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/