Sam Ravnborg | a00736e | 2008-06-19 20:26:19 +0200 | [diff] [blame] | 1 | #ifndef _SPARC64_MMZONE_H |
| 2 | #define _SPARC64_MMZONE_H |
| 3 | |
| 4 | #ifdef CONFIG_NEED_MULTIPLE_NODES |
| 5 | |
Stephen Rothwell | 17ad6ea | 2009-03-19 22:03:22 +1100 | [diff] [blame] | 6 | #include <linux/cpumask.h> |
| 7 | |
Sam Ravnborg | a00736e | 2008-06-19 20:26:19 +0200 | [diff] [blame] | 8 | extern struct pglist_data *node_data[]; |
| 9 | |
| 10 | #define NODE_DATA(nid) (node_data[nid]) |
| 11 | #define node_start_pfn(nid) (NODE_DATA(nid)->node_start_pfn) |
| 12 | #define node_end_pfn(nid) (NODE_DATA(nid)->node_end_pfn) |
| 13 | |
| 14 | extern int numa_cpu_lookup_table[]; |
| 15 | extern cpumask_t numa_cpumask_lookup_table[]; |
| 16 | |
| 17 | #endif /* CONFIG_NEED_MULTIPLE_NODES */ |
| 18 | |
| 19 | #endif /* _SPARC64_MMZONE_H */ |