linux-um archives
 help / color / mirror / Atom feed
From: Adrian Bunk <bunk@stusta.de>
To: Jeff Dike <jdike@addtoit.com>
Cc: Andrew Morton <akpm@osdl.org>,
	linux-kernel@vger.kernel.org,
	user-mode-linux-devel@lists.sourceforge.net
Subject: [uml-devel] [2.6 patch] UML - Prevent MODE_SKAS=n and MODE_TT=n
Date: Fri, 6 Jan 2006 13:44:38 +0100	[thread overview]
Message-ID: <20060106124438.GB12131@stusta.de> (raw)
In-Reply-To: <20060105022129.GA13183@ccure.user-mode-linux.org>

On Wed, Jan 04, 2006 at 09:21:29PM -0500, Jeff Dike wrote:
> On Wed, Jan 04, 2006 at 03:24:33PM -0800, Andrew Morton wrote:
> > Jeff Dike <jdike@addtoit.com> wrote:
> > >
> > > Produce a compile-time error if both MODE_SKAS and MODE_TT are disabled.
> > Is there no sane way to prevent this situation within Kconfig?
> 
> I tried.  The best I managed was to get *config to moan about circular
> dependencies.

The patch below implements this in Kconfig.

> 				Jeff

cu
Adrian


<--  snip  -->


If MODE_TT=n, MODE_SKAS must be y.


Signed-off-by: Adrian Bunk <bunk@stusta.de>

--- linux-git/arch/um/Kconfig.old	2006-01-06 13:41:02.000000000 +0100
+++ linux-git/arch/um/Kconfig	2006-01-06 13:41:14.000000000 +0100
@@ -83,7 +83,7 @@
         of physical memory.
 
 config MODE_SKAS
-	bool "Separate Kernel Address Space support"
+	bool "Separate Kernel Address Space support" if MODE_TT
 	default y
 	help
 	This option controls whether skas (separate kernel address space)



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

  reply	other threads:[~2006-01-06 12:44 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-04 21:51 [uml-devel] [PATCH 4/9] UML - Better diagnostics for broken configs Jeff Dike
2006-01-04 23:24 ` [uml-devel] " Andrew Morton
2006-01-05  2:21   ` Jeff Dike
2006-01-06 12:44     ` Adrian Bunk [this message]
2006-01-06 16:39       ` [uml-devel] Re: [2.6 patch] UML - Prevent MODE_SKAS=n and MODE_TT=n Jeff Dike
2006-01-06 16:18         ` Adrian Bunk
2006-01-07  5:22           ` Jeff Dike
2006-01-07  5:23       ` Jeff Dike
2006-01-05  7:45 ` [uml-devel] Re: [PATCH 4/9] UML - Better diagnostics for broken configs Jan Engelhardt
2006-01-05 16:14   ` Jeff Dike
2006-01-05 21:59     ` Jan Engelhardt
2006-01-06  0:53       ` Jeff Dike
2006-01-07  0:01       ` Rob Landley
2006-01-07  2:37         ` Jeff Dike
2006-01-07 15:12           ` Jan Engelhardt
2006-01-07 23:17             ` Jeff Dike
2006-01-08  3:50             ` Rob Landley

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=20060106124438.GB12131@stusta.de \
    --to=bunk@stusta.de \
    --cc=akpm@osdl.org \
    --cc=jdike@addtoit.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    /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