common: Make livepatch dependent on HAS_VMAP

While technically possible to support live-patching on MPU systems, today
the code depends on vmap. However, this relationship is not reflected in
Kconfig and allows to enable live-patching on MPU, where HAS_VMAP is not
selected.

Signed-off-by: Michal Orzel <michal.orzel@amd.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
This commit is contained in:
Michal Orzel committed 2025-07-31 13:15:13 +02:00
1 parent a084862317
commit aeea3fd341
1 file changed
+1 -1
+1 -1
View File
@@ -477,7 +477,7 @@ config CRYPTO
config LIVEPATCH
bool "Live patching support"
default X86
depends on "$(XEN_HAS_BUILD_ID)" = "y" && SYSCTL
depends on "$(XEN_HAS_BUILD_ID)" = "y" && SYSCTL && HAS_VMAP
select CC_SPLIT_SECTIONS
help
Allows a running Xen hypervisor to be dynamically patched using
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.