Whamcloud - gitweb
LU-3974 libcfs: replace num_physpages with totalram_pages
[fs/lustre-release.git] / lustre / include / liblustre.h
index dbc4c3c..4aa78f0 100644 (file)
@@ -167,8 +167,8 @@ void cfs_get_random_bytes(void *ptr, int size);
 /* memory */
 
 /* memory size: used for some client tunables */
-#define num_physpages  (256 * 1024) /* 1GB */
-#define NUM_CACHEPAGES num_physpages
+#define totalram_pages  (256 * 1024) /* 1GB */
+#define NUM_CACHEPAGES totalram_pages
 
 
 /* VFS stuff */