aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiroslav Benes <mbenes@suse.cz>2015-01-20 06:49:35 -0500
committerJiri Kosina <jkosina@suse.cz>2015-01-20 09:02:25 -0500
commit32b7eb877165fdb29f1722071c6c64ced1789014 (patch)
tree0d48d9059e72a3521089de91da3e838f4465002c
parent99590ba565a22c9f58f7528a94881d0455eef018 (diff)
livepatch: change ARCH_HAVE_LIVE_PATCHING to HAVE_LIVE_PATCHING
Change ARCH_HAVE_LIVE_PATCHING to HAVE_LIVE_PATCHING in Kconfigs. HAVE_ bools are prevalent there and we should go with the flow. Suggested-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Miroslav Benes <mbenes@suse.cz> Acked-by: Josh Poimboeuf <jpoimboe@redhat.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
-rw-r--r--arch/x86/Kconfig2
-rw-r--r--kernel/livepatch/Kconfig4
2 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 460b31b79938..29b095231276 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -17,7 +17,7 @@ config X86_64
17 depends on 64BIT 17 depends on 64BIT
18 select X86_DEV_DMA_OPS 18 select X86_DEV_DMA_OPS
19 select ARCH_USE_CMPXCHG_LOCKREF 19 select ARCH_USE_CMPXCHG_LOCKREF
20 select ARCH_HAVE_LIVE_PATCHING 20 select HAVE_LIVE_PATCHING
21 21
22### Arch settings 22### Arch settings
23config X86 23config X86
diff --git a/kernel/livepatch/Kconfig b/kernel/livepatch/Kconfig
index 66797aa597c0..347ee2221137 100644
--- a/kernel/livepatch/Kconfig
+++ b/kernel/livepatch/Kconfig
@@ -1,4 +1,4 @@
1config ARCH_HAVE_LIVE_PATCHING 1config HAVE_LIVE_PATCHING
2 bool 2 bool
3 help 3 help
4 Arch supports kernel live patching 4 Arch supports kernel live patching
@@ -9,7 +9,7 @@ config LIVE_PATCHING
9 depends on MODULES 9 depends on MODULES
10 depends on SYSFS 10 depends on SYSFS
11 depends on KALLSYMS_ALL 11 depends on KALLSYMS_ALL
12 depends on ARCH_HAVE_LIVE_PATCHING 12 depends on HAVE_LIVE_PATCHING
13 help 13 help
14 Say Y here if you want to support kernel live patching. 14 Say Y here if you want to support kernel live patching.
15 This option has no runtime impact until a kernel "patch" 15 This option has no runtime impact until a kernel "patch"