summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2007-12-11 20:38:12 +0100
committerRalf Baechle <ralf@linux-mips.org>2007-12-14 18:34:29 +0100
commit40c7869b693b18412491fdcff64682215b739f9e (patch)
treea873e35640b25d3eab0b27ebc9a631f8d46970dc
parent[MIPS] Alchemy: fix off by two error in __fixup_bigphys_addr() (diff)
downloadlinux-40c7869b693b18412491fdcff64682215b739f9e.tar.xz
linux-40c7869b693b18412491fdcff64682215b739f9e.zip
[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>
-rw-r--r--arch/mips/mips-boards/generic/memory.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/mips-boards/generic/memory.c b/arch/mips/mips-boards/generic/memory.c
index dc272c188233..2c5c27c8e86d 100644
--- a/arch/mips/mips-boards/generic/memory.c
+++ b/arch/mips/mips-boards/generic/memory.c
@@ -169,6 +169,7 @@ void __init prom_meminit(void)
void __init prom_free_prom_memory(void)
{
+#if 0 /* for now ... */
unsigned long addr;
int i;
@@ -180,4 +181,5 @@ void __init prom_free_prom_memory(void)
free_init_pages("prom memory",
addr, addr + boot_mem_map.map[i].size);
}
+#endif
}