|
@@ -148,12 +148,10 @@ void __init print_memmap(void)
|
|
|
|
|
|
void __init mem_init(void)
|
|
void __init mem_init(void)
|
|
{
|
|
{
|
|
- pg_data_t *pgdat;
|
|
|
|
int i;
|
|
int i;
|
|
|
|
|
|
/* this will put all memory onto the freelists */
|
|
/* this will put all memory onto the freelists */
|
|
- for_each_online_pgdat(pgdat)
|
|
|
|
- free_all_bootmem_node(pgdat);
|
|
|
|
|
|
+ free_all_bootmem();
|
|
|
|
|
|
#if defined(CONFIG_MMU) && !defined(CONFIG_SUN3) && !defined(CONFIG_COLDFIRE)
|
|
#if defined(CONFIG_MMU) && !defined(CONFIG_SUN3) && !defined(CONFIG_COLDFIRE)
|
|
/* insert pointer tables allocated so far into the tablelist */
|
|
/* insert pointer tables allocated so far into the tablelist */
|