summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
Diffstat (limited to 'mm')
-rw-r--r--mm/page_alloc.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index 5a234b64f3ac..98cbdf6e5532 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -4749,7 +4749,7 @@ void __paginginit free_area_init_node(int nid, unsigned long *zones_size,
4749/* 4749/*
4750 * Figure out the number of possible node ids. 4750 * Figure out the number of possible node ids.
4751 */ 4751 */
4752static void __init setup_nr_node_ids(void) 4752void __init setup_nr_node_ids(void)
4753{ 4753{
4754 unsigned int node; 4754 unsigned int node;
4755 unsigned int highest = 0; 4755 unsigned int highest = 0;
@@ -4758,10 +4758,6 @@ static void __init setup_nr_node_ids(void)
4758 highest = node; 4758 highest = node;
4759 nr_node_ids = highest + 1; 4759 nr_node_ids = highest + 1;
4760} 4760}
4761#else
4762static inline void setup_nr_node_ids(void)
4763{
4764}
4765#endif 4761#endif
4766 4762
4767/** 4763/**