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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> --- 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