Blame view
include/asm-powerpc/mmzone.h
1016 Bytes
1da177e4c Linux-2.6.12-rc2 |
1 2 3 4 5 6 7 8 |
/* * Written by Kanoj Sarcar (kanoj@sgi.com) Aug 99 * * PowerPC64 port: * Copyright (C) 2002 Anton Blanchard, IBM Corp. */ #ifndef _ASM_MMZONE_H_ #define _ASM_MMZONE_H_ |
88ced0314 [PATCH] powerpc: ... |
9 |
#ifdef __KERNEL__ |
1da177e4c Linux-2.6.12-rc2 |
10 |
|
1da177e4c Linux-2.6.12-rc2 |
11 |
|
45fb6cea0 [PATCH] ppc64: Co... |
12 13 |
/* * generic non-linear memory support: |
145e66423 [PATCH] ppc64: sp... |
14 15 16 17 |
* * 1) we will not split memory into more chunks than will fit into the * flags field of the struct page */ |
145e66423 [PATCH] ppc64: sp... |
18 |
#ifdef CONFIG_NEED_MULTIPLE_NODES |
1da177e4c Linux-2.6.12-rc2 |
19 20 |
extern struct pglist_data *node_data[]; |
145e66423 [PATCH] ppc64: sp... |
21 22 23 24 |
/* * Return a pointer to the node data for node n. */ #define NODE_DATA(nid) (node_data[nid]) |
1da177e4c Linux-2.6.12-rc2 |
25 26 27 28 29 30 |
/* * Following are specific to this numa platform. */ extern int numa_cpu_lookup_table[]; |
1da177e4c Linux-2.6.12-rc2 |
31 |
extern cpumask_t numa_cpumask_lookup_table[]; |
82dd26a97 [PATCH] Memory Ad... |
32 33 34 |
#ifdef CONFIG_MEMORY_HOTPLUG extern unsigned long max_pfn; #endif |
1da177e4c Linux-2.6.12-rc2 |
35 |
|
1da177e4c Linux-2.6.12-rc2 |
36 37 38 |
/* * Following are macros that each numa implmentation must define. */ |
1da177e4c Linux-2.6.12-rc2 |
39 40 |
#define node_start_pfn(nid) (NODE_DATA(nid)->node_start_pfn) #define node_end_pfn(nid) (NODE_DATA(nid)->node_end_pfn) |
145e66423 [PATCH] ppc64: sp... |
41 |
#endif /* CONFIG_NEED_MULTIPLE_NODES */ |
88ced0314 [PATCH] powerpc: ... |
42 |
#endif /* __KERNEL__ */ |
1da177e4c Linux-2.6.12-rc2 |
43 |
#endif /* _ASM_MMZONE_H_ */ |