summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorJosh Poimboeuf <jpoimboe@redhat.com>2015-02-03 16:45:18 -0600
committerJiri Kosina <jkosina@suse.cz>2015-02-04 11:25:51 +0100
commit12cf89b550d13eb7cb86ef182bd6c04345a33a1f (patch)
tree1836f4d7130559031079b7b611a67127b304dc50 /kernel
parentdbed7ddab967550d1181633e8ac7905808f29a94 (diff)
downloadlinux-12cf89b550d13eb7cb86ef182bd6c04345a33a1f.tar.gz
linux-12cf89b550d13eb7cb86ef182bd6c04345a33a1f.tar.bz2
linux-12cf89b550d13eb7cb86ef182bd6c04345a33a1f.zip
livepatch: rename config to CONFIG_LIVEPATCH
Rename CONFIG_LIVE_PATCHING to CONFIG_LIVEPATCH to make the naming of the config and the code more consistent. Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com> Reviewed-by: Jingoo Han <jg1.han@samsung.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/livepatch/Kconfig6
-rw-r--r--kernel/livepatch/Makefile2
2 files changed, 4 insertions, 4 deletions
diff --git a/kernel/livepatch/Kconfig b/kernel/livepatch/Kconfig
index 347ee2221137..045022557936 100644
--- a/kernel/livepatch/Kconfig
+++ b/kernel/livepatch/Kconfig
@@ -1,15 +1,15 @@
-config HAVE_LIVE_PATCHING
+config HAVE_LIVEPATCH
bool
help
Arch supports kernel live patching
-config LIVE_PATCHING
+config LIVEPATCH
bool "Kernel Live Patching"
depends on DYNAMIC_FTRACE_WITH_REGS
depends on MODULES
depends on SYSFS
depends on KALLSYMS_ALL
- depends on HAVE_LIVE_PATCHING
+ depends on HAVE_LIVEPATCH
help
Say Y here if you want to support kernel live patching.
This option has no runtime impact until a kernel "patch"
diff --git a/kernel/livepatch/Makefile b/kernel/livepatch/Makefile
index 7c1f00861428..e8780c0901d9 100644
--- a/kernel/livepatch/Makefile
+++ b/kernel/livepatch/Makefile
@@ -1,3 +1,3 @@
-obj-$(CONFIG_LIVE_PATCHING) += livepatch.o
+obj-$(CONFIG_LIVEPATCH) += livepatch.o
livepatch-objs := core.o