[PATCH, v2] x86: remove dead config option X86_CPU

From: Jan Beulich
Date: Tue Mar 08 2011 - 04:24:44 EST


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.

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>

---
arch/um/Kconfig.x86 | 2 ++
arch/x86/Kconfig | 2 ++
arch/x86/Kconfig.cpu | 5 -----
3 files changed, 4 insertions(+), 5 deletions(-)

--- 2.6.38-rc8/arch/um/Kconfig.x86
+++ 2.6.38-rc8-x86-remove-X86_CPU/arch/um/Kconfig.x86
@@ -10,6 +10,8 @@ endmenu

config UML_X86
def_bool y
+ select GENERIC_FIND_FIRST_BIT
+ select GENERIC_FIND_NEXT_BIT

config 64BIT
bool
--- 2.6.38-rc8/arch/x86/Kconfig
+++ 2.6.38-rc8-x86-remove-X86_CPU/arch/x86/Kconfig
@@ -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
--- 2.6.38-rc8/arch/x86/Kconfig.cpu
+++ 2.6.38-rc8-x86-remove-X86_CPU/arch/x86/Kconfig.cpu
@@ -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



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/