x86-32, NUMA: implement temporary NUMA init shims
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / arch / x86 / include / asm / numa_64.h
blob506dd050ff3043f016c4d536f2e34474fd9aba56
1 #ifndef _ASM_X86_NUMA_64_H
2 #define _ASM_X86_NUMA_64_H
4 #define ZONE_ALIGN (1UL << (MAX_ORDER+PAGE_SHIFT))
6 extern int numa_off;
8 extern unsigned long numa_free_all_bootmem(void);
10 #ifdef CONFIG_NUMA
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:
16 #define NODE_MIN_SIZE (4*1024*1024)
18 #ifdef CONFIG_NUMA_EMU
19 #define FAKE_NODE_MIN_SIZE ((u64)32 << 20)
20 #define FAKE_NODE_MIN_HASH_MASK (~(FAKE_NODE_MIN_SIZE - 1UL))
21 void numa_emu_cmdline(char *);
22 #endif /* CONFIG_NUMA_EMU */
23 #endif
25 #endif /* _ASM_X86_NUMA_64_H */