diff options
Diffstat (limited to 'include/linux/node.h')
-rw-r--r-- | include/linux/node.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/linux/node.h b/include/linux/node.h index 1a557c589ecb..02a29e71b175 100644 --- a/include/linux/node.h +++ b/include/linux/node.h | |||
@@ -139,8 +139,7 @@ extern int register_cpu_under_node(unsigned int cpu, unsigned int nid); | |||
139 | extern int unregister_cpu_under_node(unsigned int cpu, unsigned int nid); | 139 | extern int unregister_cpu_under_node(unsigned int cpu, unsigned int nid); |
140 | extern int register_mem_sect_under_node(struct memory_block *mem_blk, | 140 | extern int register_mem_sect_under_node(struct memory_block *mem_blk, |
141 | void *arg); | 141 | void *arg); |
142 | extern int unregister_mem_sect_under_nodes(struct memory_block *mem_blk, | 142 | extern int unregister_memory_block_under_nodes(struct memory_block *mem_blk); |
143 | unsigned long phys_index); | ||
144 | 143 | ||
145 | extern int register_memory_node_under_compute_node(unsigned int mem_nid, | 144 | extern int register_memory_node_under_compute_node(unsigned int mem_nid, |
146 | unsigned int cpu_nid, | 145 | unsigned int cpu_nid, |
@@ -176,8 +175,7 @@ static inline int register_mem_sect_under_node(struct memory_block *mem_blk, | |||
176 | { | 175 | { |
177 | return 0; | 176 | return 0; |
178 | } | 177 | } |
179 | static inline int unregister_mem_sect_under_nodes(struct memory_block *mem_blk, | 178 | static inline int unregister_memory_block_under_nodes(struct memory_block *mem_blk) |
180 | unsigned long phys_index) | ||
181 | { | 179 | { |
182 | return 0; | 180 | return 0; |
183 | } | 181 | } |