public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 4/9] UML - Better diagnostics for broken configs
@ 2006-01-04 21:51 Jeff Dike
  2006-01-04 23:24 ` Andrew Morton
  2006-01-05  7:45 ` [PATCH 4/9] UML - Better diagnostics for broken configs Jan Engelhardt
  0 siblings, 2 replies; 17+ 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...) \


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

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

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-04 21:51 [PATCH 4/9] UML - Better diagnostics for broken configs Jeff Dike
2006-01-04 23:24 ` Andrew Morton
2006-01-05  2:21   ` Jeff Dike
2006-01-06 12:44     ` [2.6 patch] UML - Prevent MODE_SKAS=n and MODE_TT=n Adrian Bunk
2006-01-06 16:39       ` 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 ` [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       ` [uml-devel] " 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox