VisionFive2 Linux kernel

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

More than 9999 Commits   32 Branches   54 Tags
author: Jiang Liu <liuj97@gmail.com> 2013-07-03 15:02:48 -0700 committer: Linus Torvalds <torvalds@linux-foundation.org> 2013-07-03 16:07:32 -0700 commit: 11199692d83dd3fe1511203024fb9853d176ec4c parent: dcf6b7ddd7df8965727746f89c59229b23180e5a
Commit Summary:
mm: change signature of free_reserved_area() to fix building warnings
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/arch/h8300/mm/init.c b/arch/h8300/mm/init.c
index ff349d70a29b..57e03c59861d 100644
--- a/arch/h8300/mm/init.c
+++ b/arch/h8300/mm/init.c
@@ -161,7 +161,7 @@ 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, 0, "initrd");
+	free_reserved_area((void *)start, (void *)end, 0, "initrd");
 }
 #endif