Whamcloud - gitweb
LU-4199 libcfs: add CPU table functions for uniprocessor
[fs/lustre-release.git] / libcfs / include / libcfs / linux / linux-mem.h
index c8861d0..6109645 100644 (file)
 # include <linux/mm_inline.h>
 #endif
 
+#ifndef HAVE_LIBCFS_CPT
+/* Need this for cfs_cpt_table */
+#include <libcfs/libcfs_cpu.h>
+#endif
+
 #define CFS_PAGE_MASK                   (~((__u64)PAGE_CACHE_SIZE-1))
 
 #define page_index(p)       ((p)->index)