Re: [PATCH] i386: XEN config option should not depend on X86_TSC/X86_CMPXCHG
From: Jeremy Fitzhardinge
Date: Fri Dec 14 2007 - 02:08:55 EST
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@xxxxxxxxxx>
> Cc: Jeremy Fitzhardinge <jeremy@xxxxxxxxxxxxx>
>
Oh, I thought this had already happened. Guess not.
Anyway:
Acked-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@xxxxxxxxxx>
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@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/