mirror of https://github.com/torvalds/linux.git
x86/xen: select HIBERNATE_CALLBACKS more directly
The config XEN_SAVE_RESTORE's only purpose is to select HIBERNATE_CALLBACKS, when config XEN is set. The XEN config definition can simply select HIBERNATE_CALLBACKS, though, and the definition of XEN_SAVE_RESTORE can be dropped. So, remove this indirection through XEN_SAVE_RESTORE and select HIBERNATE_CALLBACKS directly. Also, drop the XEN_SAVE_RESTORE from the x86 xen config fragment. No functional change intended with this clean-up. Signed-off-by: Lukas Bulwahn <lukas.bulwahn@redhat.com> Reviewed-by: Juergen Gross <jgross@suse.com> Signed-off-by: Juergen Gross <jgross@suse.com> Message-ID: <20250829070402.159390-1-lukas.bulwahn@redhat.com>
This commit is contained in:
parent
2ea7a5bcc4
commit
29c2f18d4f
|
|
@ -12,7 +12,6 @@ CONFIG_CPU_FREQ=y
|
||||||
|
|
||||||
# x86 xen specific config options
|
# x86 xen specific config options
|
||||||
CONFIG_XEN_PVH=y
|
CONFIG_XEN_PVH=y
|
||||||
CONFIG_XEN_SAVE_RESTORE=y
|
|
||||||
# CONFIG_XEN_DEBUG_FS is not set
|
# CONFIG_XEN_DEBUG_FS is not set
|
||||||
CONFIG_XEN_MCE_LOG=y
|
CONFIG_XEN_MCE_LOG=y
|
||||||
CONFIG_XEN_ACPI_PROCESSOR=m
|
CONFIG_XEN_ACPI_PROCESSOR=m
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,7 @@ config XEN
|
||||||
depends on PARAVIRT
|
depends on PARAVIRT
|
||||||
select PARAVIRT_CLOCK
|
select PARAVIRT_CLOCK
|
||||||
select X86_HV_CALLBACK_VECTOR
|
select X86_HV_CALLBACK_VECTOR
|
||||||
|
select HIBERNATE_CALLBACKS
|
||||||
depends on X86_64 || (X86_32 && X86_PAE)
|
depends on X86_64 || (X86_32 && X86_PAE)
|
||||||
depends on X86_64 || (X86_GENERIC || MPENTIUM4 || MATOM)
|
depends on X86_64 || (X86_GENERIC || MPENTIUM4 || MATOM)
|
||||||
depends on X86_LOCAL_APIC && X86_TSC
|
depends on X86_LOCAL_APIC && X86_TSC
|
||||||
|
|
@ -64,12 +65,6 @@ config XEN_PVHVM_GUEST
|
||||||
help
|
help
|
||||||
Support running as a Xen PVHVM guest.
|
Support running as a Xen PVHVM guest.
|
||||||
|
|
||||||
config XEN_SAVE_RESTORE
|
|
||||||
bool
|
|
||||||
depends on XEN
|
|
||||||
select HIBERNATE_CALLBACKS
|
|
||||||
default y
|
|
||||||
|
|
||||||
config XEN_DEBUG_FS
|
config XEN_DEBUG_FS
|
||||||
bool "Enable Xen debug and tuning parameters in debugfs"
|
bool "Enable Xen debug and tuning parameters in debugfs"
|
||||||
depends on XEN && DEBUG_FS
|
depends on XEN && DEBUG_FS
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue