diff options
author | Kyle McMartin <kyle@mcmartin.ca> | 2009-06-23 11:51:43 -0400 |
---|---|---|
committer | Kyle McMartin <kyle@mcmartin.ca> | 2009-07-03 03:34:10 +0000 |
commit | 20dbc9f724e02c26e30d89cf50e7ce259ab46da4 (patch) | |
tree | fcf9ed47582d6ea4c3d60a910e21b002d1850ab9 /arch/parisc/mm | |
parent | c3301ab4fb64cf84321d35a8e94f68c94c816dc1 (diff) | |
download | linux-stable-20dbc9f724e02c26e30d89cf50e7ce259ab46da4.tar.gz linux-stable-20dbc9f724e02c26e30d89cf50e7ce259ab46da4.tar.bz2 linux-stable-20dbc9f724e02c26e30d89cf50e7ce259ab46da4.zip |
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>
Diffstat (limited to 'arch/parisc/mm')
-rw-r--r-- | arch/parisc/mm/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/parisc/mm/init.c b/arch/parisc/mm/init.c index 6c5ea964647c..b0831d9e35cb 100644 --- a/arch/parisc/mm/init.c +++ b/arch/parisc/mm/init.c @@ -378,7 +378,7 @@ void free_initmem(void) /* 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 |