Merge branch 'exec_rm_compat' of git://git.kernel.org/pub/scm/linux/kernel/git/oleg...
[pandora-kernel.git] / arch / x86 / include / asm / mmzone_64.h
1 /* K8 NUMA support */
2 /* Copyright 2002,2003 by Andi Kleen, SuSE Labs */
3 /* 2.5 Version loosely based on the NUMAQ Code by Pat Gaughen. */
4 #ifndef _ASM_X86_MMZONE_64_H
5 #define _ASM_X86_MMZONE_64_H
6
7 #ifdef CONFIG_NUMA
8
9 #include <linux/mmdebug.h>
10 #include <asm/smp.h>
11
12 extern struct pglist_data *node_data[];
13
14 #define NODE_DATA(nid)          (node_data[nid])
15
16 #define node_start_pfn(nid)     (NODE_DATA(nid)->node_start_pfn)
17 #define node_end_pfn(nid)       (NODE_DATA(nid)->node_start_pfn +       \
18                                  NODE_DATA(nid)->node_spanned_pages)
19 #endif
20 #endif /* _ASM_X86_MMZONE_64_H */