xref: /openbmc/linux/kernel/livepatch/Kconfig (revision f7d84fa7)
1config HAVE_LIVEPATCH
2	bool
3	help
4	  Arch supports kernel live patching
5
6config LIVEPATCH
7	bool "Kernel Live Patching"
8	depends on DYNAMIC_FTRACE_WITH_REGS
9	depends on MODULES
10	depends on SYSFS
11	depends on KALLSYMS_ALL
12	depends on HAVE_LIVEPATCH
13	depends on !TRIM_UNUSED_KSYMS
14	help
15	  Say Y here if you want to support kernel live patching.
16	  This option has no runtime impact until a kernel "patch"
17	  module uses the interface provided by this option to register
18	  a patch, causing calls to patched functions to be redirected
19	  to new function code contained in the patch module.
20