summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorJosh Poimboeuf <jpoimboe@redhat.com>2015-02-03 23:45:18 +0100
committerJiri Kosina <jkosina@suse.cz>2015-02-04 11:25:51 +0100
commit12cf89b550d13eb7cb86ef182bd6c04345a33a1f (patch)
tree1836f4d7130559031079b7b611a67127b304dc50 /samples
parentlivepatch: fix uninitialized return value (diff)
downloadlinux-12cf89b550d13eb7cb86ef182bd6c04345a33a1f.tar.xz
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 'samples')
-rw-r--r--samples/Kconfig4
-rw-r--r--samples/livepatch/Makefile2
2 files changed, 3 insertions, 3 deletions
diff --git a/samples/Kconfig b/samples/Kconfig
index 0aed20df5f0b..224ebb46bed5 100644
--- a/samples/Kconfig
+++ b/samples/Kconfig
@@ -63,9 +63,9 @@ config SAMPLE_RPMSG_CLIENT
to communicate with an AMP-configured remote processor over
the rpmsg bus.
-config SAMPLE_LIVE_PATCHING
+config SAMPLE_LIVEPATCH
tristate "Build live patching sample -- loadable modules only"
- depends on LIVE_PATCHING && m
+ depends on LIVEPATCH && m
help
Builds a sample live patch that replaces the procfs handler
for /proc/cmdline to print "this has been live patched".
diff --git a/samples/livepatch/Makefile b/samples/livepatch/Makefile
index 7f1cdc131a02..10319d7ea0b1 100644
--- a/samples/livepatch/Makefile
+++ b/samples/livepatch/Makefile
@@ -1 +1 @@
-obj-$(CONFIG_SAMPLE_LIVE_PATCHING) += livepatch-sample.o
+obj-$(CONFIG_SAMPLE_LIVEPATCH) += livepatch-sample.o