Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Lukas Bulwahn and committed by
Juergen Gross
29c2f18d 2ea7a5bc

+1 -7
-1
arch/x86/configs/xen.config
··· 12 12 13 13 # x86 xen specific config options 14 14 CONFIG_XEN_PVH=y 15 - CONFIG_XEN_SAVE_RESTORE=y 16 15 # CONFIG_XEN_DEBUG_FS is not set 17 16 CONFIG_XEN_MCE_LOG=y 18 17 CONFIG_XEN_ACPI_PROCESSOR=m
+1 -6
arch/x86/xen/Kconfig
··· 8 8 depends on PARAVIRT 9 9 select PARAVIRT_CLOCK 10 10 select X86_HV_CALLBACK_VECTOR 11 + select HIBERNATE_CALLBACKS 11 12 depends on X86_64 || (X86_32 && X86_PAE) 12 13 depends on X86_64 || (X86_GENERIC || MPENTIUM4 || MATOM) 13 14 depends on X86_LOCAL_APIC && X86_TSC ··· 64 63 depends on XEN_PVHVM && PCI 65 64 help 66 65 Support running as a Xen PVHVM guest. 67 - 68 - config XEN_SAVE_RESTORE 69 - bool 70 - depends on XEN 71 - select HIBERNATE_CALLBACKS 72 - default y 73 66 74 67 config XEN_DEBUG_FS 75 68 bool "Enable Xen debug and tuning parameters in debugfs"