aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/base
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/base')
-rw-r--r--drivers/base/node.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/base/node.c b/drivers/base/node.c
index 057979a19eea..2bdd8a94ec94 100644
--- a/drivers/base/node.c
+++ b/drivers/base/node.c
@@ -9,6 +9,7 @@
9#include <linux/memory.h> 9#include <linux/memory.h>
10#include <linux/node.h> 10#include <linux/node.h>
11#include <linux/hugetlb.h> 11#include <linux/hugetlb.h>
12#include <linux/compaction.h>
12#include <linux/cpumask.h> 13#include <linux/cpumask.h>
13#include <linux/topology.h> 14#include <linux/topology.h>
14#include <linux/nodemask.h> 15#include <linux/nodemask.h>
@@ -246,6 +247,8 @@ int register_node(struct node *node, int num, struct node *parent)
246 scan_unevictable_register_node(node); 247 scan_unevictable_register_node(node);
247 248
248 hugetlb_register_node(node); 249 hugetlb_register_node(node);
250
251 compaction_register_node(node);
249 } 252 }
250 return error; 253 return error;
251} 254}