parisc: fix compile warning in mm/init.c
arch/parisc/mm/init.c: In function 'free_initmem':
381: warning: passing argument 1 of 'memset' makes pointer from integer without a cast
Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
diff --git a/arch/parisc/mm/init.c b/arch/parisc/mm/init.c
index 6c5ea96..b0831d9 100644
--- a/arch/parisc/mm/init.c
+++ b/arch/parisc/mm/init.c
@@ -378,7 +378,7 @@
/* Attempt to catch anyone trying to execute code here
* by filling the page with BRK insns.
*/
- memset(init_begin, 0x00, init_end - init_begin);
+ memset((void *)init_begin, 0x00, init_end - init_begin);
flush_icache_range(init_begin, init_end);
#endif