Thread (1 message) 1 message, 1 author, 2018-03-29

[PATCH v5 14/16] powerpc: Switch to generic free_initrd_mem.

flat view
DORMANTno replies

From: Shea Levy <hidden>
Date: 2018-03-29 11:33:18
Also in: linux-riscv, lkml
Subsystem: linux for powerpc (32-bit and 64-bit), the rest · Maintainers: Madhavan Srinivasan, Linus Torvalds

Revision v4 of 2 in this series.

Revisions (2)
  1. v4
  2. v4 current
The generic implementation is functionally identical.

Signed-off-by: Shea Levy <redacted>
---
 arch/powerpc/mm/mem.c | 7 -------
 1 file changed, 7 deletions(-)
diff --git a/arch/powerpc/mm/mem.c b/arch/powerpc/mm/mem.c
index fe8c61149fb8..e85b2a3cd264 100644
--- a/arch/powerpc/mm/mem.c
+++ b/arch/powerpc/mm/mem.c
@@ -404,13 +404,6 @@ void free_initmem(void)
 	free_initmem_default(POISON_FREE_INITMEM);
 }
 
-#ifdef CONFIG_BLK_DEV_INITRD
-void __init free_initrd_mem(unsigned long start, unsigned long end)
-{
-	free_reserved_area((void *)start, (void *)end, -1, "initrd");
-}
-#endif
-
 /*
  * This is called when a page has been modified by the kernel.
  * It just marks the page as not i-cache clean.  We do the i-cache
-- 
2.16.2
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help