Fix warning
SVN-Revision: 6756
This commit is contained in:
parent
ae90a1394d
commit
f5b93badec
1 changed files with 2 additions and 2 deletions
|
@ -83,7 +83,7 @@ struct prom_pmemblock * __init prom_getmdesc(void)
|
|||
ptr = strstr(cmdline, "memsize=");
|
||||
if (ptr && (ptr != cmdline) && (*(ptr - 1) != ' '))
|
||||
ptr = strstr(ptr, " memsize=");
|
||||
|
||||
|
||||
if (ptr)
|
||||
memsize = memparse(ptr + 8, &ptr);
|
||||
else
|
||||
|
@ -131,5 +131,5 @@ void __init prom_meminit(void)
|
|||
unsigned long __init prom_free_prom_memory(void)
|
||||
{
|
||||
/* We do not have to prom memory to free */
|
||||
return;
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue