Skip to content

Commit

Permalink
livepatch: change ARCH_HAVE_LIVE_PATCHING to HAVE_LIVE_PATCHING
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Miroslav Benes authored and Jiri Kosina committed Jan 20, 2015
1 parent 99590ba commit 32b7eb8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion arch/x86/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions kernel/livepatch/Kconfig
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
config ARCH_HAVE_LIVE_PATCHING
config HAVE_LIVE_PATCHING
bool
help
Arch supports kernel live patching
Expand All @@ -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"
Expand Down

0 comments on commit 32b7eb8

Please sign in to comment.