Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
numa_64.c
Go to the documentation of this file.
1 /*
2  * Generic VM initialization for x86-64 NUMA setups.
3  * Copyright 2002,2003 Andi Kleen, SuSE Labs.
4  */
5 #include <linux/bootmem.h>
6 
7 #include "numa_internal.h"
8 
9 void __init initmem_init(void)
10 {
11  x86_numa_init();
12 }
13 
14 unsigned long __init numa_free_all_bootmem(void)
15 {
16  unsigned long pages = 0;
17  int i;
18 
20  pages += free_all_bootmem_node(NODE_DATA(i));
21 
23 
24  return pages;
25 }