mircoblaze-drop-unneeded-numa-and-sparsemem-initializations.patch removed from -mm tree
The patch titled
Subject: mircoblaze: drop unneeded NUMA and sparsemem initializations
has been removed from the -mm tree. Its filename was
mircoblaze-drop-unneeded-numa-and-sparsemem-initializations.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Mike Rapoport <[email protected]>
Subject: mircoblaze: drop unneeded NUMA and sparsemem initializations
microblaze does not support neither NUMA not SPARSMEM, so there is no point to call memblock_set_node() and sparse_memory_present_with_active_regions() functions during microblaze memory initialization.
Remove these calls and the surrounding code.
---
arch/microblaze/mm/init.c | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-)
arch/microblaze/mm/init.c renamed from arch/microblaze/mm/init.c~mircoblaze-drop-unneeded-numa-and-sparsemem-initializations +1 -13
@@ -108,9 +108,8 @@ static void __init paging_init(void)void __init setup_memory (void ) { -struct memblock_region *reg; -#ifndef CONFIG_MMU +struct memblock_region *reg;u32 kernel_align_start, kernel_align_size;/* Find main memory where is the kernel */
@@ -164,17 +163,6 @@ void __init setup_memory(void)pr_info ("%s: max_low_pfn: %#lx\n" , __func__, max_low_pfn);pr_info ("%s: max_pfn: %#lx\n" , __func__, max_pfn); -/* Add active regions with valid PFNs */ -for_each_memblock (memory, reg) { -unsigned long start_pfn, end_pfn; - - start_pfn =memblock_region_memory_base_pfn (reg); - end_pfn =memblock_region_memory_end_pfn (reg); -memblock_set_node (start_pfn <<PAGE_SHIFT , - (end_pfn - start_pfn) <<PAGE_SHIFT , - &memblock.memory,0 ); - } -paging_init (); }
_
Patches currently in -mm which might be from [email protected] are
mm-remove-unused-early_pfn_valid.patch