aboutsummaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
Diffstat (limited to 'mm')
-rw-r--r--mm/hugetlb.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/mm/hugetlb.c b/mm/hugetlb.c
index 74c1b6b0b37b..40d841cb5126 100644
--- a/mm/hugetlb.c
+++ b/mm/hugetlb.c
@@ -671,9 +671,11 @@ int hugetlb_report_node_meminfo(int nid, char *buf)
671{ 671{
672 return sprintf(buf, 672 return sprintf(buf,
673 "Node %d HugePages_Total: %5u\n" 673 "Node %d HugePages_Total: %5u\n"
674 "Node %d HugePages_Free: %5u\n", 674 "Node %d HugePages_Free: %5u\n"
675 "Node %d HugePages_Surp: %5u\n",
675 nid, nr_huge_pages_node[nid], 676 nid, nr_huge_pages_node[nid],
676 nid, free_huge_pages_node[nid]); 677 nid, free_huge_pages_node[nid],
678 nid, surplus_huge_pages_node[nid]);
677} 679}
678 680
679/* Return the number pages of memory we physically have, in PAGE_SIZE units. */ 681/* Return the number pages of memory we physically have, in PAGE_SIZE units. */