Skip to content

Commit 32b7eb8

Browse files
mirabJiri Kosina
authored andcommitted
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>
1 parent 99590ba commit 32b7eb8

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎arch/x86/Kconfig‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ config X86_64
1717
depends on 64BIT
1818
select X86_DEV_DMA_OPS
1919
select ARCH_USE_CMPXCHG_LOCKREF
20-
select ARCH_HAVE_LIVE_PATCHING
20+
select HAVE_LIVE_PATCHING
2121

2222
### Arch settings
2323
config X86

‎kernel/livepatch/Kconfig‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
config ARCH_HAVE_LIVE_PATCHING
1+
config HAVE_LIVE_PATCHING
22
bool
33
help
44
Arch supports kernel live patching
@@ -9,7 +9,7 @@ config LIVE_PATCHING
99
depends on MODULES
1010
depends on SYSFS
1111
depends on KALLSYMS_ALL
12-
depends on ARCH_HAVE_LIVE_PATCHING
12+
depends on HAVE_LIVE_PATCHING
1313
help
1414
Say Y here if you want to support kernel live patching.
1515
This option has no runtime impact until a kernel "patch"

0 commit comments

Comments
 (0)