Commit c7cc8d77 authored by Mike Rapoport's avatar Mike Rapoport Committed by Linus Torvalds
Browse files

hexagon: drop empty and unused free_initrd_mem

hexagon never reserves or initializes initrd and the only mention of it is
the empty free_initrd_mem() function.

As we have a generic implementation of free_initrd_mem(), there is no need
to define an empty stub for the hexagon implementation and it can be


Signed-off-by: default avatarMike Rapoport <>
Reviewed-by: default avatarChristoph Hellwig <>
Cc: Richard Kuo <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent d616d512
......@@ -71,19 +71,6 @@ void __init mem_init(void)
init_mm.context.ptbase = __pa(init_mm.pgd);
* free_initrd_mem - frees... initrd memory.
* @start - start of init memory
* @end - end of init memory
* Apparently has to be passed the address of the initrd memory.
* Wrapped by #ifdef CONFIG_BLKDEV_INITRD
void free_initrd_mem(unsigned long start, unsigned long end)
void sync_icache_dcache(pte_t pte)
unsigned long addr;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment