diff options
Diffstat (limited to 'mm/slub.c')
-rw-r--r-- | mm/slub.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3737,7 +3737,7 @@ static int list_locations(struct kmem_cache *s, char *buf, | |||
3737 | to_cpumask(l->cpus)); | 3737 | to_cpumask(l->cpus)); |
3738 | } | 3738 | } |
3739 | 3739 | ||
3740 | if (num_online_nodes() > 1 && !nodes_empty(l->nodes) && | 3740 | if (nr_online_nodes > 1 && !nodes_empty(l->nodes) && |
3741 | len < PAGE_SIZE - 60) { | 3741 | len < PAGE_SIZE - 60) { |
3742 | len += sprintf(buf + len, " nodes="); | 3742 | len += sprintf(buf + len, " nodes="); |
3743 | len += nodelist_scnprintf(buf + len, PAGE_SIZE - len - 50, | 3743 | len += nodelist_scnprintf(buf + len, PAGE_SIZE - len - 50, |