Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 365422
b: refs/heads/master
c: f9872ca
h: refs/heads/master
v: v3
  • Loading branch information
Cody P Schafer authored and Linus Torvalds committed Apr 29, 2013
1 parent 2275b9c commit 0198faa
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7c243c7168dcc1bc2081fc0494923cd7cc808fb6
refs/heads/master: f9872caf07c1c774034b8bddde7d4a3a7f4a6484
6 changes: 6 additions & 0 deletions trunk/include/linux/mm.h
Original file line number Diff line number Diff line change
Expand Up @@ -1816,5 +1816,11 @@ static inline unsigned int debug_guardpage_minorder(void) { return 0; }
static inline bool page_is_guard(struct page *page) { return false; }
#endif /* CONFIG_DEBUG_PAGEALLOC */

#if MAX_NUMNODES > 1
void __init setup_nr_node_ids(void);
#else
static inline void setup_nr_node_ids(void) {}
#endif

#endif /* __KERNEL__ */
#endif /* _LINUX_MM_H */
6 changes: 1 addition & 5 deletions trunk/mm/page_alloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -4749,7 +4749,7 @@ void __paginginit free_area_init_node(int nid, unsigned long *zones_size,
/*
* Figure out the number of possible node ids.
*/
static void __init setup_nr_node_ids(void)
void __init setup_nr_node_ids(void)
{
unsigned int node;
unsigned int highest = 0;
Expand All @@ -4758,10 +4758,6 @@ static void __init setup_nr_node_ids(void)
highest = node;
nr_node_ids = highest + 1;
}
#else
static inline void setup_nr_node_ids(void)
{
}
#endif

/**
Expand Down

0 comments on commit 0198faa

Please sign in to comment.