Commit 40c7869b authored by Ralf Baechle's avatar Ralf Baechle

[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: default avatarRalf Baechle <ralf@linux-mips.org>
parent b87bb40b
...@@ -169,6 +169,7 @@ void __init prom_meminit(void) ...@@ -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) ...@@ -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
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment