public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Gerd Knorr <kraxel@suse.de>
To: Christoph Hellwig <hch@infradead.org>
Cc: linux kernel mailing list <linux-kernel@vger.kernel.org>
Subject: Re: [patch 1/2] uml/xen: make the vt subsystem a runtime option
Date: Tue, 13 Dec 2005 16:32:22 +0100	[thread overview]
Message-ID: <439EE986.20106@suse.de> (raw)
In-Reply-To: <20051213152121.GA4335@infradead.org>

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

      reply	other threads:[~2005-12-13 15:32 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-13 15:06 [patch 1/2] uml/xen: make the vt subsystem a runtime option Gerd Knorr
2005-12-13 15:16 ` [patch 2/2] uml: Framebuffer driver for UML Gerd Knorr
2005-12-13 22:15   ` Jeff Dike
2005-12-15  9:06     ` Gerd Knorr
2005-12-15 11:14       ` Gerd Knorr
2005-12-15 13:23         ` Gerd Knorr
2005-12-13 15:21 ` [patch 1/2] uml/xen: make the vt subsystem a runtime option Christoph Hellwig
2005-12-13 15:32   ` Gerd Knorr [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=439EE986.20106@suse.de \
    --to=kraxel@suse.de \
    --cc=hch@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox