|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-changelog
[Xen-changelog] [linux-2.6.18-xen] linux: another little bit of	Kconfig 
 
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1200670247 0
# Node ID 2217bb27c70ab4276fb3ea6fef7f29b0539e4575
# Parent  47916bd012c6a0a17a350a4247aa0dff9f42868f
linux: another little bit of Kconfig cleanup
Remove useless things and make the <arch>_XEN/XEN option interaction
for x86 the same as it is for ia64/powerpc (which is more
appropriate).
As usual, written and tested on 2.6.24-rc7 and made apply to the
2.6.18 tree without further testing.
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
---
 arch/i386/Kconfig   |    1 +
 arch/x86_64/Kconfig |    1 +
 drivers/xen/Kconfig |    4 ----
 3 files changed, 2 insertions(+), 4 deletions(-)
diff -r 47916bd012c6 -r 2217bb27c70a arch/i386/Kconfig
--- a/arch/i386/Kconfig Fri Jan 18 13:37:53 2008 +0000
+++ b/arch/i386/Kconfig Fri Jan 18 15:30:47 2008 +0000
@@ -106,6 +106,7 @@ config X86_PC
 
 config X86_XEN
        bool "Xen-compatible"
+       select XEN
        select X86_UP_APIC if !SMP && XEN_PRIVILEGED_GUEST
        select X86_UP_IOAPIC if !SMP && XEN_PRIVILEGED_GUEST
        select SWIOTLB
diff -r 47916bd012c6 -r 2217bb27c70a arch/x86_64/Kconfig
--- a/arch/x86_64/Kconfig       Fri Jan 18 13:37:53 2008 +0000
+++ b/arch/x86_64/Kconfig       Fri Jan 18 15:30:47 2008 +0000
@@ -137,6 +137,7 @@ endchoice
 
 config X86_64_XEN
        bool "Enable Xen compatible kernel"
+       select XEN
        select SWIOTLB
        help
          This option will compile a kernel compatible with Xen hypervisor
diff -r 47916bd012c6 -r 2217bb27c70a drivers/xen/Kconfig
--- a/drivers/xen/Kconfig       Fri Jan 18 13:37:53 2008 +0000
+++ b/drivers/xen/Kconfig       Fri Jan 18 15:30:47 2008 +0000
@@ -6,9 +6,6 @@ mainmenu "Xen Configuration"
 
 config XEN
        bool
-       default y if X86_XEN || X86_64_XEN
-       help
-         This is the Linux Xen port.
 
 if XEN
 config XEN_INTERFACE_VERSION
@@ -19,7 +16,6 @@ menu "XEN"
 
 config XEN_PRIVILEGED_GUEST
        bool "Privileged Guest (domain 0)"
-       default n
        help
          Support for privileged operation (domain 0)
 
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
 |   
 
| <Prev in Thread] | 
Current Thread | 
[Next in Thread> |  
- [Xen-changelog] [linux-2.6.18-xen] linux: another little bit of	Kconfig cleanup,
Xen patchbot-linux-2.6.18-xen <=
  
 |  
  
 | 
    | 
  
  
    |   | 
    |