Allow sysmap to be used on non CONFIG_ALL_PPC
PATCH 1/1 Allow sysmap to be used on non CONFIG_ALL_PPC
This patch allows the System.map to be stored in RAM on non CONFIG_ALL_PPC architectures.
(Note: Gemini is still an easy candidate for CONFIG_ALL_PPC.)
-VAL
arch/ppc/mm/init.c +3 -3
@@ -581,9 +581,6 @@/* remove the RTAS pages from the available memory */ if (rtas_data)mem_pieces_remove (&phys_avail, rtas_data, rtas_size,1 ); -/* remove the sysmap pages from the available memory */ -if (sysmap) -mem_pieces_remove (&phys_avail,__pa (sysmap), sysmap_size,1 );/* Because of some uninorth weirdness, we need a page of * memory as high as possible (it must be outside of the * bus address seen as the AGP aperture). It will be used
@@ -599,6 +596,9 @@ agp_special_page = (unsigned long)__va(agp_special_page); }#endif /* CONFIG_ALL_PPC */ +/* remove the sysmap pages from the available memory */ +if (sysmap) +mem_pieces_remove (&phys_avail,__pa (sysmap), sysmap_size,1 ); }/* Mark some memory as reserved by removing it from phys_avail. */
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/