Skip to contentSkip to conversation

x86: remove dead config option X86_CPU

PATCH In review Jan Beulich 1 participant 2 messages Mar 8, 2011 – Mar 9, 2011

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 x86: remove dead config option X86_CPU

This isn't being referenced anywhere, and the selects done from it can be easily done together with all the other X86 ones.

v2: Also adjust UML's Kconfig.x86.

---
 arch/um/Kconfig.x86  |    2 ++
 arch/x86/Kconfig     |    2 ++
 arch/x86/Kconfig.cpu |    5 -----
 3 files changed, 4 insertions(+), 5 deletions(-)
arch/um/Kconfig.x86 +2 -0
@@ -10,6 +10,8 @@ endmenu
 
 config UML_X86
 	def_bool y
+	select GENERIC_FIND_FIRST_BIT
+	select GENERIC_FIND_NEXT_BIT
 
 config 64BIT
 	bool
arch/x86/Kconfig +2 -0
@@ -64,6 +64,8 @@ config X86
 	select HAVE_TEXT_POKE_SMP
 	select HAVE_GENERIC_HARDIRQS
 	select HAVE_SPARSE_IRQ
+	select GENERIC_FIND_FIRST_BIT
+	select GENERIC_FIND_NEXT_BIT
 	select GENERIC_IRQ_PROBE
 	select GENERIC_PENDING_IRQ if SMP
 	select USE_GENERIC_SMP_HELPERS if SMP
arch/x86/Kconfig.cpu +0 -5
@@ -294,11 +294,6 @@ config X86_GENERIC
 
 endif
 
-config X86_CPU
-	def_bool y
-	select GENERIC_FIND_FIRST_BIT
-	select GENERIC_FIND_NEXT_BIT
-
 #
 # Define implied options from the CPU selection here
 config X86_INTERNODE_CACHE_SHIFT
#1 lore raw

[tip:x86/asm] x86: Remove dead config option X86_CPU

Commit-ID:  c49aa5bd1376939b40759a6da5ba6cf701702721
Gitweb:     http://git.kernel.org/tip/c49aa5bd1376939b40759a6da5ba6cf701702721
Author:     Jan Beulich <[email protected]>
AuthorDate: Tue, 8 Mar 2011 09:24:26 +0000
Committer:  Ingo Molnar <[email protected]>
CommitDate: Wed, 9 Mar 2011 10:39:36 +0100

x86: Remove dead config option X86_CPU

This isn't being referenced anywhere, and the selects done from it can be easily done together with all the other X86 ones.

v2: Also adjust UML's Kconfig.x86.

LKML-Reference: <[email protected]>

---
 arch/um/Kconfig.x86  |    2 ++
 arch/x86/Kconfig     |    2 ++
 arch/x86/Kconfig.cpu |    5 -----
 3 files changed, 4 insertions(+), 5 deletions(-)
arch/um/Kconfig.x86 +2 -0
index 62f2115..02fb017 100644
@@ -10,6 +10,8 @@ endmenu
 
 config UML_X86
 	def_bool y
+	select GENERIC_FIND_FIRST_BIT
+	select GENERIC_FIND_NEXT_BIT
 
 config 64BIT
 	bool
arch/x86/Kconfig +2 -0
index d5ed94d..43214e3 100644
@@ -64,6 +64,8 @@ config X86
 	select HAVE_TEXT_POKE_SMP
 	select HAVE_GENERIC_HARDIRQS
 	select HAVE_SPARSE_IRQ
+	select GENERIC_FIND_FIRST_BIT
+	select GENERIC_FIND_NEXT_BIT
 	select GENERIC_IRQ_PROBE
 	select GENERIC_PENDING_IRQ if SMP
 	select USE_GENERIC_SMP_HELPERS if SMP
arch/x86/Kconfig.cpu +0 -5
index 283c5a6..ed47e6e 100644
@@ -294,11 +294,6 @@ config X86_GENERIC
 
 endif
 
-config X86_CPU
-	def_bool y
-	select GENERIC_FIND_FIRST_BIT
-	select GENERIC_FIND_NEXT_BIT
-
 #
 # Define implied options from the CPU selection here
 config X86_INTERNODE_CACHE_SHIFT