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