mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 11:46:19 +00:00
[MIPS] Atlas, Malta: Don't free firmware memory on free_initmem.
A proper fix for this needs to turn a few MIPS-generic bits which I don't want at this stage. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
b87bb40b62
commit
40c7869b69
1 changed files with 2 additions and 0 deletions
|
@ -169,6 +169,7 @@ void __init prom_meminit(void)
|
||||||
|
|
||||||
void __init prom_free_prom_memory(void)
|
void __init prom_free_prom_memory(void)
|
||||||
{
|
{
|
||||||
|
#if 0 /* for now ... */
|
||||||
unsigned long addr;
|
unsigned long addr;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
|
@ -180,4 +181,5 @@ void __init prom_free_prom_memory(void)
|
||||||
free_init_pages("prom memory",
|
free_init_pages("prom memory",
|
||||||
addr, addr + boot_mem_map.map[i].size);
|
addr, addr + boot_mem_map.map[i].size);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue