VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Christoph Hellwig <hch@lst.de> 2019-05-13 17:18:34 -0700 committer: Linus Torvalds <torvalds@linux-foundation.org> 2019-05-14 09:47:47 -0700 commit: 4afd58e14dd415e456fd236755373f52e6055ec7 parent: d8ae8a3765bfa1f9bf977e2496fcc9cf64fbfabd
Commit Summary:
initramfs: provide a generic free_initrd_mem implementation
Diffstat:
1 file changed, 0 insertions, 7 deletions
diff --git a/arch/h8300/mm/init.c b/arch/h8300/mm/init.c
index 0f04a5e9aa4f..ea635c9025fe 100644
--- a/arch/h8300/mm/init.c
+++ b/arch/h8300/mm/init.c
@@ -103,14 +103,6 @@ void __init mem_init(void)
 	mem_init_print_info(NULL);
 }
 
-
-#ifdef CONFIG_BLK_DEV_INITRD
-void free_initrd_mem(unsigned long start, unsigned long end)
-{
-	free_reserved_area((void *)start, (void *)end, -1, "initrd");
-}
-#endif
-
 void
 free_initmem(void)
 {