summaryrefslogtreecommitdiff
path: root/arch/frv/mm/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/frv/mm/init.c')
-rw-r--r--arch/frv/mm/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/frv/mm/init.c b/arch/frv/mm/init.c
index dee354fa6b64..a67f3a5897b8 100644
--- a/arch/frv/mm/init.c
+++ b/arch/frv/mm/init.c
@@ -173,6 +173,6 @@ void free_initmem(void)
#ifdef CONFIG_BLK_DEV_INITRD
void __init free_initrd_mem(unsigned long start, unsigned long end)
{
- free_reserved_area(start, end, 0, "initrd");
+ free_reserved_area((void *)start, (void *)end, 0, "initrd");
} /* end free_initrd_mem() */
#endif