Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-3974 libcfs: replace num_physpages with totalram_pages
[fs/lustre-release.git]
/
lustre
/
include
/
liblustre.h
diff --git
a/lustre/include/liblustre.h
b/lustre/include/liblustre.h
index
dbc4c3c
..
4aa78f0
100644
(file)
--- a/
lustre/include/liblustre.h
+++ b/
lustre/include/liblustre.h
@@
-167,8
+167,8
@@
void cfs_get_random_bytes(void *ptr, int size);
/* memory */
/* memory size: used for some client tunables */
-#define
num_phys
pages (256 * 1024) /* 1GB */
-#define NUM_CACHEPAGES
num_phys
pages
+#define
totalram_
pages (256 * 1024) /* 1GB */
+#define NUM_CACHEPAGES
totalram_
pages
/* VFS stuff */