1 #ifndef _ASM_X86_NUMA_64_H
2 #define _ASM_X86_NUMA_64_H
4 #include <linux/nodemask.h>
11 extern int compute_hash_shift(struct bootnode
*nodes
, int numblks
,
14 #define ZONE_ALIGN (1UL << (MAX_ORDER+PAGE_SHIFT))
18 extern unsigned long numa_free_all_bootmem(void);
19 extern void setup_node_bootmem(int nodeid
, unsigned long start
,
24 * Too small node sizes may confuse the VM badly. Usually they
25 * result from BIOS bugs. So dont recognize nodes as standalone
26 * NUMA entities that have less than this amount of RAM listed:
28 #define NODE_MIN_SIZE (4*1024*1024)
30 extern int __cpuinit
numa_cpu_node(int cpu
);
32 #ifdef CONFIG_NUMA_EMU
33 #define FAKE_NODE_MIN_SIZE ((u64)32 << 20)
34 #define FAKE_NODE_MIN_HASH_MASK (~(FAKE_NODE_MIN_SIZE - 1UL))
35 void numa_emu_cmdline(char *);
36 #endif /* CONFIG_NUMA_EMU */
38 static inline int numa_cpu_node(int cpu
) { return NUMA_NO_NODE
; }
41 #endif /* _ASM_X86_NUMA_64_H */
This page took 0.033852 seconds and 5 git commands to generate.