ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.6.tar.bz2
[linux-2.6.git] / include / asm-x86_64 / numa.h
1 #ifndef _ASM_X8664_NUMA_H 
2 #define _ASM_X8664_NUMA_H 1
3
4 #define MAXNODE 8 
5 #define NODEMASK 0xff
6
7 struct node { 
8         u64 start,end; 
9 };
10
11 #define for_all_nodes(x) for ((x) = 0; (x) < numnodes; (x)++) \
12                                 if (node_online(x))
13
14 extern int compute_hash_shift(struct node *nodes);
15
16 #define ZONE_ALIGN (1UL << (MAX_ORDER+PAGE_SHIFT))
17
18 extern void numa_add_cpu(int cpu);
19 extern void numa_init_array(void);
20
21 #endif