]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
livepatch: change ARCH_HAVE_LIVE_PATCHING to HAVE_LIVE_PATCHING
authorMiroslav Benes <mbenes@suse.cz>
Tue, 20 Jan 2015 11:49:35 +0000 (12:49 +0100)
committerJiri Kosina <jkosina@suse.cz>
Tue, 20 Jan 2015 14:02:25 +0000 (15:02 +0100)
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>
arch/x86/Kconfig
kernel/livepatch/Kconfig

index 460b31b79938e903ab853b85a044d63f4cd21faf..29b095231276bd3f787c2febe539fbb28975a598 100644 (file)
@@ -17,7 +17,7 @@ config X86_64
        depends on 64BIT
        select X86_DEV_DMA_OPS
        select ARCH_USE_CMPXCHG_LOCKREF
-       select ARCH_HAVE_LIVE_PATCHING
+       select HAVE_LIVE_PATCHING
 
 ### Arch settings
 config X86
index 66797aa597c02a91e4df2a3360defa2990e8692e..347ee22211371b4460ccb175615c469ca463ab68 100644 (file)
@@ -1,4 +1,4 @@
-config ARCH_HAVE_LIVE_PATCHING
+config HAVE_LIVE_PATCHING
        bool
        help
          Arch supports kernel live patching
@@ -9,7 +9,7 @@ config LIVE_PATCHING
        depends on MODULES
        depends on SYSFS
        depends on KALLSYMS_ALL
-       depends on ARCH_HAVE_LIVE_PATCHING
+       depends on HAVE_LIVE_PATCHING
        help
          Say Y here if you want to support kernel live patching.
          This option has no runtime impact until a kernel "patch"