Skip to contentSkip to conversation

mm-c6x-prepare-for-removing-num_physpages-and-simplify-mem_init.patch removed from -mm tree

merged [email protected] 1 participant 1 message Jul 8, 2013

lore
Share & tools
lore
#0 lore raw

Subject: [merged] mm-c6x-prepare-for-removing-num_physpages-and-simplify-mem_init.patch removed from -mm tree
To: [email protected],[email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Mon, 08 Jul 2013 12:27:06 -0700

The patch titled
Subject: mm/c6x: prepare for removing num_physpages and simplify mem_init()
has been removed from the -mm tree. Its filename was
mm-c6x-prepare-for-removing-num_physpages-and-simplify-mem_init.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Jiang Liu <[email protected]>
Subject: mm/c6x: prepare for removing num_physpages and simplify mem_init()

Prepare for removing num_physpages and simplify mem_init().

Cc Mark Salter <[email protected]>
Cc Aurelien Jacquiot <[email protected]>

---

 arch/c6x/mm/init.c |   11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)
arch/c6x/mm/init.c renamed from arch/c6x/mm/init.c~mm-c6x-prepare-for-removing-num_physpages-and-simplify-mem_init +0 -6
diff -puN arch/c6x/mm/init.c~mm-c6x-prepare-for-removing-num_physpages-and-simplify-mem_init arch/c6x/mm/init.c
@@ -58,21 +58,12 @@ void __init paging_init(void)
 
 void __init mem_init(void)
 {
-	int codek, datak;
-	unsigned long tmp;
-	unsigned long len = memory_end - memory_start;
-
 	high_memory = (void *)(memory_end & PAGE_MASK);
 
 	/* this will put all memory onto the freelists */
 	free_all_bootmem();
 
-	codek = (_etext - _stext) >> 10;
-	datak = (_end - _sdata) >> 10;