diff options
Diffstat (limited to 'include/linux/node.h')
| -rw-r--r-- | include/linux/node.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/linux/node.h b/include/linux/node.h index 02a29e71b175..548c226966a2 100644 --- a/include/linux/node.h +++ b/include/linux/node.h | |||
| @@ -139,7 +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_memory_block_under_nodes(struct memory_block *mem_blk); | 142 | extern void unregister_memory_block_under_nodes(struct memory_block *mem_blk); |
| 143 | 143 | ||
| 144 | 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, |
| 145 | unsigned int cpu_nid, | 145 | unsigned int cpu_nid, |
| @@ -175,9 +175,8 @@ static inline int register_mem_sect_under_node(struct memory_block *mem_blk, | |||
| 175 | { | 175 | { |
| 176 | return 0; | 176 | return 0; |
| 177 | } | 177 | } |
| 178 | static inline int unregister_memory_block_under_nodes(struct memory_block *mem_blk) | 178 | static inline void unregister_memory_block_under_nodes(struct memory_block *mem_blk) |
| 179 | { | 179 | { |
| 180 | return 0; | ||
| 181 | } | 180 | } |
| 182 | 181 | ||
| 183 | static inline void register_hugetlbfs_with_node(node_registration_func_t reg, | 182 | static inline void register_hugetlbfs_with_node(node_registration_func_t reg, |
