]> git.ipfire.org Git - thirdparty/linux.git/commit
x86/xen: select HIBERNATE_CALLBACKS more directly
authorLukas Bulwahn <lukas.bulwahn@redhat.com>
Fri, 29 Aug 2025 07:04:02 +0000 (09:04 +0200)
committerJuergen Gross <jgross@suse.com>
Mon, 8 Sep 2025 18:10:20 +0000 (20:10 +0200)
commit29c2f18d4f3fa444e3b8972b45d548cf521f8f15
tree01067f71fa5875f9df5d61c24e394cfb14fde973
parent2ea7a5bcc4cfca817b3502b38f97885767730ed8
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>
arch/x86/configs/xen.config
arch/x86/xen/Kconfig