[PATCH v5 06/16] frv: Switch to generic free_initrd_mem.

Shea Levy shea at shealevy.com
Thu Mar 29 04:31:57 PDT 2018


The generic implementation is functionally identical.

Signed-off-by: Shea Levy <shea at shealevy.com>
---
 arch/frv/mm/init.c | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/arch/frv/mm/init.c b/arch/frv/mm/init.c
index cf464100e838..345edc4dc462 100644
--- a/arch/frv/mm/init.c
+++ b/arch/frv/mm/init.c
@@ -131,14 +131,3 @@ void free_initmem(void)
 	free_initmem_default(-1);
 #endif
 } /* end free_initmem() */
-
-/*****************************************************************************/
-/*
- * free the initial ramdisk memory
- */
-#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");
-} /* end free_initrd_mem() */
-#endif
-- 
2.16.2




More information about the linux-riscv mailing list