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
9 #include <linux/mmdebug.h>
12 extern struct pglist_data
*node_data
[];
14 #define NODE_DATA(nid) (node_data[nid])
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)
20 #endif /* _ASM_X86_MMZONE_64_H */