Skip to contentSkip to conversation

livepatch: change ARCH_HAVE_LIVE_PATCHING to HAVE_LIVE_PATCHING

PATCH In review Miroslav Benes 3 participants 3 messages Jan 20, 2015

Subsystems (2)
lore
Share & tools
lore

Miroslav Benes

author maintainer
#0 lore raw

PATCH 1/1 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.

---
 arch/x86/Kconfig         | 2 +-
 kernel/livepatch/Kconfig | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
arch/x86/Kconfig +1 -1
index 460b31b..29b0952 100644
@@ -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
kernel/livepatch/Kconfig +2 -2
index 66797aa..347ee22 100644
@@ -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"
Signature · 1 line
2.1.2
Acked-by on v1 1/1
#1 lore raw
Quoted 5 lines · Miroslav Benes

Change ARCH_HAVE_LIVE_PATCHING to HAVE_LIVE_PATCHING in Kconfigs. HAVE_ bools are prevalent there and we should go with the flow.

Quoted 40 lines
---
 arch/x86/Kconfig         | 2 +-
 kernel/livepatch/Kconfig | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
arch/x86/Kconfig +1 -1
index 460b31b..29b0952 100644
@@ -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
kernel/livepatch/Kconfig +2 -2
index 66797aa..347ee22 100644
@@ -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"
Signature · 1 line
2.1.2
Signature · 1 line
Josh