aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/mm
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc/mm')
-rw-r--r--arch/sparc/mm/init_32.c4
-rw-r--r--arch/sparc/mm/init_64.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/arch/sparc/mm/init_32.c b/arch/sparc/mm/init_32.c
index af472cf7c69a..d5f9c023826f 100644
--- a/arch/sparc/mm/init_32.c
+++ b/arch/sparc/mm/init_32.c
@@ -372,8 +372,8 @@ void free_initmem (void)
372#ifdef CONFIG_BLK_DEV_INITRD 372#ifdef CONFIG_BLK_DEV_INITRD
373void free_initrd_mem(unsigned long start, unsigned long end) 373void free_initrd_mem(unsigned long start, unsigned long end)
374{ 374{
375 num_physpages += free_reserved_area(start, end, POISON_FREE_INITMEM, 375 num_physpages += free_reserved_area((void *)start, (void *)end,
376 "initrd"); 376 POISON_FREE_INITMEM, "initrd");
377} 377}
378#endif 378#endif
379 379
diff --git a/arch/sparc/mm/init_64.c b/arch/sparc/mm/init_64.c
index 04fd55a6e461..8269deb84eda 100644
--- a/arch/sparc/mm/init_64.c
+++ b/arch/sparc/mm/init_64.c
@@ -2131,8 +2131,8 @@ void free_initmem(void)
2131#ifdef CONFIG_BLK_DEV_INITRD 2131#ifdef CONFIG_BLK_DEV_INITRD
2132void free_initrd_mem(unsigned long start, unsigned long end) 2132void free_initrd_mem(unsigned long start, unsigned long end)
2133{ 2133{
2134 num_physpages += free_reserved_area(start, end, POISON_FREE_INITMEM, 2134 num_physpages += free_reserved_area((void *)start, (void *)end,
2135 "initrd"); 2135 POISON_FREE_INITMEM, "initrd");
2136} 2136}
2137#endif 2137#endif
2138 2138