All of lore.kernel.org
 help / color / mirror / Atom feed
* [uml-devel] [PATCH 4/9] UML - Better diagnostics for broken configs
@ 2006-01-04 21:51 ` Jeff Dike
  0 siblings, 0 replies; 34+ messages in thread
From: Jeff Dike @ 2006-01-04 21:51 UTC (permalink / raw)
  To: akpm; +Cc: linux-kernel, user-mode-linux-devel

Produce a compile-time error if both MODE_SKAS and MODE_TT are disabled.

Signed-off-by: Jeff Dike <jdike@addtoit.com>

Index: linux-2.6.15/arch/um/include/choose-mode.h
===================================================================
--- linux-2.6.15.orig/arch/um/include/choose-mode.h	2005-08-28 19:41:01.000000000 -0400
+++ linux-2.6.15/arch/um/include/choose-mode.h	2005-11-17 10:43:47.000000000 -0500
@@ -23,6 +23,9 @@ static inline void *__choose_mode(void *
 
 #elif defined(UML_CONFIG_MODE_TT)
 #define CHOOSE_MODE(tt, skas) (tt)
+
+#else
+#error CONFIG_MODE_SKAS and CONFIG_MODE_TT are both disabled
 #endif
 
 #define CHOOSE_MODE_PROC(tt, skas, args...) \



-------------------------------------------------------
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

^ permalink raw reply	[flat|nested] 34+ messages in thread

end of thread, other threads:[~2006-01-08  3:50 UTC | newest]

Thread overview: 34+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-04 21:51 [uml-devel] [PATCH 4/9] UML - Better diagnostics for broken configs Jeff Dike
2006-01-04 21:51 ` Jeff Dike
2006-01-04 23:24 ` [uml-devel] " Andrew Morton
2006-01-04 23:24   ` Andrew Morton
2006-01-05  2:21   ` [uml-devel] " Jeff Dike
2006-01-05  2:21     ` Jeff Dike
2006-01-06 12:44     ` [uml-devel] [2.6 patch] UML - Prevent MODE_SKAS=n and MODE_TT=n Adrian Bunk
2006-01-06 12:44       ` Adrian Bunk
2006-01-06 16:39       ` [uml-devel] " Jeff Dike
2006-01-06 16:39         ` Jeff Dike
2006-01-06 16:18         ` [uml-devel] " Adrian Bunk
2006-01-06 16:18           ` Adrian Bunk
2006-01-07  5:22           ` [uml-devel] " Jeff Dike
2006-01-07  5:22             ` Jeff Dike
2006-01-07  5:23       ` [uml-devel] " 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  7:45   ` Jan Engelhardt
2006-01-05 16:14   ` [uml-devel] " Jeff Dike
2006-01-05 16:14     ` Jeff Dike
2006-01-05 21:59     ` [uml-devel] " Jan Engelhardt
2006-01-05 21:59       ` Jan Engelhardt
2006-01-06  0:53       ` [uml-devel] " Jeff Dike
2006-01-06  0:53         ` Jeff Dike
2006-01-07  0:01       ` [uml-devel] " Rob Landley
2006-01-07  0:01         ` Rob Landley
2006-01-07  2:37         ` Jeff Dike
2006-01-07  2:37           ` Jeff Dike
2006-01-07 15:12           ` Jan Engelhardt
2006-01-07 15:12             ` Jan Engelhardt
2006-01-07 23:17             ` Jeff Dike
2006-01-07 23:17               ` Jeff Dike
2006-01-08  3:50             ` Rob Landley
2006-01-08  3:50               ` Rob Landley

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.