[MIPS] Atlas, Malta: Don't free firmware memory on free_initmem.
authorRalf Baechle <ralf@linux-mips.org>
Tue, 11 Dec 2007 19:38:12 +0000 (19:38 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 14 Dec 2007 17:34:29 +0000 (17:34 +0000)
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>
arch/mips/mips-boards/generic/memory.c

index dc272c1882337167a0350d87afc978702b1c0f0a..2c5c27c8e86df597681f0afd216a0af26f64f1c4 100644 (file)
@@ -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
 }