spi-topcliff-pch: add recovery processing in case wait-event timeout
[zen-stable.git] / arch / x86 / mm / numa_64.c
blob92e27119ee1a0b5db2559ff8787a3ce83c150a59
1 /*
2 * Generic VM initialization for x86-64 NUMA setups.
3 * Copyright 2002,2003 Andi Kleen, SuSE Labs.
4 */
5 #include <linux/bootmem.h>
7 #include "numa_internal.h"
9 void __init initmem_init(void)
11 x86_numa_init();
14 unsigned long __init numa_free_all_bootmem(void)
16 unsigned long pages = 0;
17 int i;
19 for_each_online_node(i)
20 pages += free_all_bootmem_node(NODE_DATA(i));
22 pages += free_low_memory_core_early(MAX_NUMNODES);
24 return pages;