e84113f8fff3083bf3eed16556b1a4eb8846cd3c
[deliverable/linux.git] / arch / x86 / include / asm / numa_64.h
1 #ifndef _ASM_X86_NUMA_64_H
2 #define _ASM_X86_NUMA_64_H
3
4 #define ZONE_ALIGN (1UL << (MAX_ORDER+PAGE_SHIFT))
5
6 extern int numa_off;
7
8 extern unsigned long numa_free_all_bootmem(void);
9
10 #ifdef CONFIG_NUMA
11 /*
12 * Too small node sizes may confuse the VM badly. Usually they
13 * result from BIOS bugs. So dont recognize nodes as standalone
14 * NUMA entities that have less than this amount of RAM listed:
15 */
16 #define NODE_MIN_SIZE (4*1024*1024)
17
18 extern int __init numa_add_memblk(int nodeid, u64 start, u64 end);
19 extern void __init numa_set_distance(int from, int to, int distance);
20
21 #ifdef CONFIG_NUMA_EMU
22 #define FAKE_NODE_MIN_SIZE ((u64)32 << 20)
23 #define FAKE_NODE_MIN_HASH_MASK (~(FAKE_NODE_MIN_SIZE - 1UL))
24 void numa_emu_cmdline(char *);
25 #endif /* CONFIG_NUMA_EMU */
26 #endif
27
28 #endif /* _ASM_X86_NUMA_64_H */
This page took 0.030467 seconds and 4 git commands to generate.