Skip to contentSkip to conversation

memblock: Kill ARCH_POPULATES_NODE_MAP once more

PATCH In review Paul Bolle 3 participants 4 messages Mar 20, 2013 Microblaze architecture

lore
Share & tools
lore

Paul Bolle

author
#0 lore raw

PATCH 1/1 memblock: Kill ARCH_POPULATES_NODE_MAP once more

The Kconfig symbol ARCH_POPULATES_NODE_MAP was killed in v3.3. After that it popped up again in microblaze and metag. Nobody noticed, probably because these Kconfig symbols are entirely unused and these architectures both select HAVE_MEMBLOCK_NODE_MAP. Anyhow, these two entries can also be killed.

---
Untested.

 arch/metag/mm/Kconfig   | 3 ---
 arch/microblaze/Kconfig | 3 ---
 2 files changed, 6 deletions(-)
arch/metag/mm/Kconfig +0 -3
index 975f2f4..794f26a 100644
@@ -98,9 +98,6 @@ config MAX_ACTIVE_REGIONS
 	default "2" if SPARSEMEM
 	default "1"
 
-config ARCH_POPULATES_NODE_MAP
-	def_bool y
-
 config ARCH_SELECT_MEMORY_MODEL
 	def_bool y
 
arch/microblaze/Kconfig +0 -3
index 1323fa2..173ab2c 100644
@@ -38,9 +38,6 @@ config RWSEM_GENERIC_SPINLOCK
 config ZONE_DMA
 	def_bool y
 
-config ARCH_POPULATES_NODE_MAP
-	def_bool y
-
 config RWSEM_XCHGADD_ALGORITHM
 	bool
 
Signature · 1 line
1.7.11.7
maintainer Acked-by on v1 1/1
#1 lore raw
Quoted 5 lines · Paul Bolle

The Kconfig symbol ARCH_POPULATES_NODE_MAP was killed in v3.3. After that it popped up again in microblaze and metag. Nobody noticed, probably because these Kconfig symbols are entirely unused and these architectures both select HAVE_MEMBLOCK_NODE_MAP. Anyhow, these two entries can also be killed.

Ah. We have done the developing on that on earlier version and to mainline it went in 3.3 merge window that's why I didn't notice it.

If James wants to take this patch through his tree, I am ok with that and here is my

Or if you want to take this through my microblaze tree, I am also ok with that but please send me your ACK.

Thanks for this patch,
Michal

Signature · 4 lines
Michal Simek, Ing. (M.Eng)
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel 2.6 Microblaze Linux - http://www.monstr.eu/fdt/
Microblaze U-BOOT custodian
#2 lore raw
Quoted 10 lines · Michal Simek
Quoted 5 lines · Paul Bolle

The Kconfig symbol ARCH_POPULATES_NODE_MAP was killed in v3.3. After that it popped up again in microblaze and metag. Nobody noticed, probably because these Kconfig symbols are entirely unused and these architectures both select HAVE_MEMBLOCK_NODE_MAP. Anyhow, these two entries can also be killed.

Ah. We have done the developing on that on earlier version and to mainline it went in 3.3 merge window that's why I didn't notice it.

Quoted 7 lines

If James wants to take this patch through his tree, I am ok with that and here is my

Or if you want to take this through my microblaze tree, I am also ok with that but please send me your ACK.

Thanks for the patch Paul. This was added to metag when we were on 2.6.34. I spotted the adding of HAVE_MEMBLOCK_NODE_MAP to SH in v3.3 and did the same for metag, but didn't notice the removal of ARCH_POPULATES_NODE_MAP.

I'm happy to take this patch for v3.10.

Cheers
James

maintainer
#3 lore raw

2013/3/20 James Hogan <[email protected]>:

Quoted 19 lines · Michal Simek
Quoted 10 lines · Paul Bolle
Quoted 5 lines

The Kconfig symbol ARCH_POPULATES_NODE_MAP was killed in v3.3. After that it popped up again in microblaze and metag. Nobody noticed, probably because these Kconfig symbols are entirely unused and these architectures both select HAVE_MEMBLOCK_NODE_MAP. Anyhow, these two entries can also be killed.

Ah. We have done the developing on that on earlier version and to mainline it went in 3.3 merge window that's why I didn't notice it.

Quoted 7 lines

If James wants to take this patch through his tree, I am ok with that and here is my

Or if you want to take this through my microblaze tree, I am also ok with that but please send me your ACK.

Quoted 6 lines

Thanks for the patch Paul. This was added to metag when we were on 2.6.34. I spotted the adding of HAVE_MEMBLOCK_NODE_MAP to SH in v3.3 and did the same for metag, but didn't notice the removal of ARCH_POPULATES_NODE_MAP.

I'm happy to take this patch for v3.10.

Ok. Thanks,
Michal

Signature · 5 lines
Michal Simek, Ing. (M.Eng)
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Microblaze cpu - http://www.monstr.eu/fdt/
Maintainer of Linux kernel - Xilinx Zynq ARM architecture
Microblaze U-BOOT custodian and responsible for u-boot arm zynq platform