Skip to contentSkip to conversation

fixup mtrr kernel config

PATCH Applied Gerd Knorr 2 participants 2 messages Dec 7, 2005 – Dec 8, 2005

lore
Share & tools
lore

Gerd Knorr

author
#0 lore raw

PATCH 1/1 fixup mtrr kernel config

Hi,

The attached patch fixes the mtrr kernel config in the merge tree. Without that patch mtrr is disabled for non-xen kernel builds.

cheers,

Gerd

Subject: Fix mtrr kconfig for non-xen kernels
From: [email protected]

arch/i386/Kconfig +1 -1
Index: linux-2.6.14/arch/i386/Kconfig
===================================================================
@@ -616,7 +616,7 @@ config MATH_EMULATION
 
 config MTRR
 	bool "MTRR (Memory Type Range Register) support"
-	depends on XEN_PRIVILEGED_GUEST
+	depends on (XEN_PRIVILEGED_GUEST || !X86_XEN)
 	default y if X86_XEN
 	---help---
 	  On Intel P6 family processors (Pentium Pro, Pentium II and later)

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw

Applied, thanks!

christian

Quoted 35 lines · Gerd Knorr

Hi,

The attached patch fixes the mtrr kernel config in the merge tree. Without that patch mtrr is disabled for non-xen kernel builds.

cheers,

Gerd

Subject: Fix mtrr kconfig for non-xen kernels
From: [email protected]

Index: linux-2.6.14/arch/i386/Kconfig
===================================================================

arch/i386/Kconfig 2005-12-07 17:30:36.000000000 +0100 renamed from arch/i386/Kconfig 2005-12-07 16:26:12.000000000 +0100 +1 -1
@@ -616,7 +616,7 @@ config MATH_EMULATION
 
 config MTRR
       bool "MTRR (Memory Type Range Register) support"
-       depends on XEN_PRIVILEGED_GUEST
+       depends on (XEN_PRIVILEGED_GUEST || !X86_XEN)
       default y if X86_XEN
       ---help---
         On Intel P6 family processors (Pentium Pro, Pentium II and later)

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel