mm: hugetlb: proc: add HugetlbPages field to /proc/PID/status
[linux-2.6-microblaze.git] / include / linux / mm_types.h
index 3d6baa7..0a85da2 100644 (file)
@@ -486,6 +486,9 @@ struct mm_struct {
        /* address of the bounds directory */
        void __user *bd_addr;
 #endif
+#ifdef CONFIG_HUGETLB_PAGE
+       atomic_long_t hugetlb_usage;
+#endif
 };
 
 static inline void mm_init_cpumask(struct mm_struct *mm)