mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-07 07:08:07 +00:00
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>
This commit is contained in:
parent
c3301ab4fb
commit
20dbc9f724
1 changed files with 1 additions and 1 deletions
|
@ -378,7 +378,7 @@ void free_initmem(void)
|
||||||
/* Attempt to catch anyone trying to execute code here
|
/* Attempt to catch anyone trying to execute code here
|
||||||
* by filling the page with BRK insns.
|
* 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);
|
flush_icache_range(init_begin, init_end);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue