2 * Generic VM initialization for x86-64 NUMA setups.
3 * Copyright 2002,2003 Andi Kleen, SuSE Labs.
5 #include <linux/bootmem.h>
7 #include "numa_internal.h"
9 void __init
initmem_init(void)
14 unsigned long __init
numa_free_all_bootmem(void)
16 unsigned long pages
= 0;
19 for_each_online_node(i
)
20 pages
+= free_all_bootmem_node(NODE_DATA(i
));
22 pages
+= free_all_memory_core_early(MAX_NUMNODES
);