Skip to contentSkip to conversation

i386: XEN config option should not depend on X86_TSC/X86_CMPXCHG

PATCH In review Jan Beulich 2 participants 2 messages Dec 13, 2007 – Dec 14, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 i386: XEN config option should not depend on X86_TSC/X86_CMPXCHG

The way X86_TSC works and the fact that Xen itself won't work on systems without TSC (really any systems pre-dating i686) makes it unnecessary for XEN to depend on it.

Similarly, X86_CMPXCHG isn't needed here either as Xen for the above reason guarantees its availability.

This allows the option to be available when selecting M386, M486, or M586.

Cc Jeremy Fitzhardinge <[email protected]>
 arch/x86/xen/Kconfig |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)
arch/x86/xen/Kconfig +1 -1
@@ -5,7 +5,7 @@
 config XEN
 	bool "Xen guest support"
 	select PARAVIRT
-	depends on X86_CMPXCHG && X86_TSC && !NEED_MULTIPLE_NODES && !(X86_VISWS || X86_VOYAGER)
+	depends on !NEED_MULTIPLE_NODES && !(X86_VISWS || X86_VOYAGER)
 	help
 	  This is the Linux Xen port.  Enabling this will allow the
 	  kernel to boot in a paravirtualized environment under the
Acked-by on v1 1/1
#1 lore raw
Quoted 4 lines · Jan Beulich

The way X86_TSC works and the fact that Xen itself won't work on systems without TSC (really any systems pre-dating i686) makes it unnecessary for XEN to depend on it.

Quoted 9 lines

Similarly, X86_CMPXCHG isn't needed here either as Xen for the above reason guarantees its availability.

This allows the option to be available when selecting M386, M486, or M586.

Cc Jeremy Fitzhardinge <[email protected]>

Oh, I thought this had already happened. Guess not.

Anyway:

J

Quoted 23 lines
 arch/x86/xen/Kconfig |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)
arch/x86/xen/Kconfig +1 -2
@@ -5,7 +5,7 @@
 config XEN
 	bool "Xen guest support"
 	select PARAVIRT
-	depends on X86_CMPXCHG && X86_TSC && !NEED_MULTIPLE_NODES && !(X86_VISWS || X86_VOYAGER)
+	depends on !NEED_MULTIPLE_NODES && !(X86_VISWS || X86_VOYAGER)
 	help
 	  This is the Linux Xen port.  Enabling this will allow the
 	  kernel to boot in a paravirtualized environment under the
 
 
 
--

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/