xen: make CONFIG_XEN_SAVE_RESTORE depend on CONFIG_XEN
authorChuck Ebbert <cebbert@redhat.com>
Mon, 29 Sep 2008 22:24:23 +0000 (18:24 -0400)
committerIngo Molnar <mingo@elte.hu>
Tue, 30 Sep 2008 07:58:05 +0000 (09:58 +0200)
Xen options need to depend on XEN.
Also, add newline at end of file.

Without this patch you need to disable CONFIG_PM in order to
disable CPU hotplugging.

Signed-off-by: Chuck Ebbert <cebbert@redhat.com>
Acked-by Jeremy Fitzhardinge <jeremy@goop.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/xen/Kconfig

index d3e6846..87b9ab1 100644 (file)
@@ -26,7 +26,7 @@ config XEN_MAX_DOMAIN_MEMORY
 
 config XEN_SAVE_RESTORE
        bool
-       depends on PM
+       depends on XEN && PM
        default y
 
 config XEN_DEBUG_FS
@@ -35,4 +35,4 @@ config XEN_DEBUG_FS
        default n
        help
          Enable statistics output and various tuning options in debugfs.
-         Enabling this option may incur a significant performance overhead.
\ No newline at end of file
+         Enabling this option may incur a significant performance overhead.