Skip to content

Commit

Permalink
[MIPS] Atlas, Malta: Don't free firmware memory on free_initmem.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ralf Baechle committed Dec 14, 2007
1 parent b87bb40 commit 40c7869
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/mips/mips-boards/generic/memory.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -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
}

0 comments on commit 40c7869

Please sign in to comment.