diff options
Diffstat (limited to 'arch/score')
-rw-r--r-- | arch/score/mm/init.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/score/mm/init.c b/arch/score/mm/init.c index 0940682..f5dd61e 100644 --- a/arch/score/mm/init.c +++ b/arch/score/mm/init.c @@ -108,7 +108,8 @@ void __init mem_init(void) #ifdef CONFIG_BLK_DEV_INITRD void free_initrd_mem(unsigned long start, unsigned long end) { - free_reserved_area(start, end, POISON_FREE_INITMEM, "initrd"); + free_reserved_area((void *)start, (void *)end, POISON_FREE_INITMEM, + "initrd"); } #endif |