linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] i386: XEN config option should not depend on X86_TSC/X86_CMPXCHG
@ 2007-12-13  9:00 Jan Beulich
  2007-12-14  7:08 ` Jeremy Fitzhardinge
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Beulich @ 2007-12-13  9:00 UTC (permalink / raw)
  To: tglx, mingo, hpa; +Cc: linux-kernel, Jeremy Fitzhardinge

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.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
Cc: Jeremy Fitzhardinge <jeremy@xensource.com>

 arch/x86/xen/Kconfig |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

--- linux-2.6.24-rc5/arch/x86/xen/Kconfig	2007-12-12 11:28:18.000000000 +0100
+++ 2.6.24-rc5-i386-xen-no-tsc/arch/x86/xen/Kconfig	2007-12-07 14:53:28.000000000 +0100
@@ -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




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

* Re: [PATCH] i386: XEN config option should not depend on X86_TSC/X86_CMPXCHG
  2007-12-13  9:00 [PATCH] i386: XEN config option should not depend on X86_TSC/X86_CMPXCHG Jan Beulich
@ 2007-12-14  7:08 ` Jeremy Fitzhardinge
  0 siblings, 0 replies; 2+ messages in thread
From: Jeremy Fitzhardinge @ 2007-12-14  7:08 UTC (permalink / raw)
  To: Jan Beulich; +Cc: tglx, mingo, hpa, linux-kernel, Jeremy Fitzhardinge

Jan Beulich wrote:
> 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.
>
> Signed-off-by: Jan Beulich <jbeulich@novell.com>
> Cc: Jeremy Fitzhardinge <jeremy@xensource.com>
>   

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

Anyway:

Acked-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>

    J
>  arch/x86/xen/Kconfig |    2 +-
>  1 files changed, 1 insertion(+), 1 deletion(-)
>
> --- linux-2.6.24-rc5/arch/x86/xen/Kconfig	2007-12-12 11:28:18.000000000 +0100
> +++ 2.6.24-rc5-i386-xen-no-tsc/arch/x86/xen/Kconfig	2007-12-07 14:53:28.000000000 +0100
> @@ -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 majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
>   


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

end of thread, other threads:[~2007-12-14  7:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-13  9:00 [PATCH] i386: XEN config option should not depend on X86_TSC/X86_CMPXCHG Jan Beulich
2007-12-14  7:08 ` Jeremy Fitzhardinge

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).