diff options
Diffstat (limited to 'include/linux/node.h')
| -rw-r--r-- | include/linux/node.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/node.h b/include/linux/node.h index 257bb3d6d014..bb288817ed33 100644 --- a/include/linux/node.h +++ b/include/linux/node.h | |||
| @@ -17,10 +17,12 @@ | |||
| 17 | 17 | ||
| 18 | #include <linux/device.h> | 18 | #include <linux/device.h> |
| 19 | #include <linux/cpumask.h> | 19 | #include <linux/cpumask.h> |
| 20 | #include <linux/list.h> | ||
| 20 | #include <linux/workqueue.h> | 21 | #include <linux/workqueue.h> |
| 21 | 22 | ||
| 22 | struct node { | 23 | struct node { |
| 23 | struct device dev; | 24 | struct device dev; |
| 25 | struct list_head access_list; | ||
| 24 | 26 | ||
| 25 | #if defined(CONFIG_MEMORY_HOTPLUG_SPARSE) && defined(CONFIG_HUGETLBFS) | 27 | #if defined(CONFIG_MEMORY_HOTPLUG_SPARSE) && defined(CONFIG_HUGETLBFS) |
| 26 | struct work_struct node_work; | 28 | struct work_struct node_work; |
| @@ -75,6 +77,10 @@ extern int register_mem_sect_under_node(struct memory_block *mem_blk, | |||
| 75 | extern int unregister_mem_sect_under_nodes(struct memory_block *mem_blk, | 77 | extern int unregister_mem_sect_under_nodes(struct memory_block *mem_blk, |
| 76 | unsigned long phys_index); | 78 | unsigned long phys_index); |
| 77 | 79 | ||
| 80 | extern int register_memory_node_under_compute_node(unsigned int mem_nid, | ||
| 81 | unsigned int cpu_nid, | ||
| 82 | unsigned access); | ||
| 83 | |||
| 78 | #ifdef CONFIG_HUGETLBFS | 84 | #ifdef CONFIG_HUGETLBFS |
| 79 | extern void register_hugetlbfs_with_node(node_registration_func_t doregister, | 85 | extern void register_hugetlbfs_with_node(node_registration_func_t doregister, |
| 80 | node_registration_func_t unregister); | 86 | node_registration_func_t unregister); |
