Skip to contentSkip to conversation

x86: remove dead config option X86_CPU

PATCH Superseded Jan Beulich 2 participants 3 messages Mar 4, 2011 – Mar 5, 2011 x86

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 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

---
 arch/x86/Kconfig     |    2 ++
 arch/x86/Kconfig.cpu |    5 -----
 2 files changed, 2 insertions(+), 5 deletions(-)
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:  24a2a35a18ebc4e143e86ad3fda50ee78de30d06
Gitweb:     http://git.kernel.org/tip/24a2a35a18ebc4e143e86ad3fda50ee78de30d06
Author:     Jan Beulich <[email protected]>
AuthorDate: Fri, 4 Mar 2011 14:57:48 +0000
Committer:  Ingo Molnar <[email protected]>
CommitDate: Fri, 4 Mar 2011 16:34:33 +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

LKML-Reference: <[email protected]>

---
 arch/x86/Kconfig     |    2 ++
 arch/x86/Kconfig.cpu |    5 -----
 2 files changed, 2 insertions(+), 5 deletions(-)
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
#2 lore raw

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

Quoted 11 lines · tip-bot for Jan Beulich
Commit-ID:  24a2a35a18ebc4e143e86ad3fda50ee78de30d06
Gitweb:     http://git.kernel.org/tip/24a2a35a18ebc4e143e86ad3fda50ee78de30d06
Author:     Jan Beulich <[email protected]>
AuthorDate: Fri, 4 Mar 2011 14:57:48 +0000
Committer:  Ingo Molnar <[email protected]>
CommitDate: Fri, 4 Mar 2011 16:34:33 +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

This broke UML ...

mm/built-in.o: In function `vm_unmap_aliases':
/home/mingo/tip/mm/vmalloc.c:989: undefined reference to find_next_bit' /home/mingo/tip/mm/vmalloc.c:993: undefined reference to find_next_zero_bit' /home/mingo/tip/mm/vmalloc.c:1006: undefined reference to `find_next_bit'

Thanks,

Ingo