MOXA linux-2.6.x / linux-2.6.9-uc0 from sdlinux-moxaart.tgz
[linux-2.6.9-moxart.git] / include / asm-x86_64 / numa.h
blob9962665c3a980de1b5e74d2686eae7f917768d43
1 #ifndef _ASM_X8664_NUMA_H
2 #define _ASM_X8664_NUMA_H 1
4 #define MAXNODE 8
5 #define NODEMASK 0xff
7 struct node {
8 u64 start,end;
9 };
11 #define for_all_nodes(x) for ((x) = 0; (x) < numnodes; (x)++) \
12 if (node_online(x))
14 extern int compute_hash_shift(struct node *nodes);
16 #define ZONE_ALIGN (1UL << (MAX_ORDER+PAGE_SHIFT))
18 extern void numa_add_cpu(int cpu);
19 extern void numa_init_array(void);
21 #endif