Whamcloud - gitweb
LU-8560 libcfs: handle PAGE_CACHE_* removal in newer kernels
[fs/lustre-release.git] / libcfs / include / libcfs / libcfs_prim.h
index 06ae853..3bc447e 100644 (file)
@@ -60,7 +60,7 @@ cfs_time_t cfs_timer_deadline(struct timer_list *t);
 #if BITS_PER_LONG == 32
 /* limit to lowmem on 32-bit systems */
 # define NUM_CACHEPAGES \
-       min(totalram_pages, 1UL << (30 - PAGE_CACHE_SHIFT) * 3 / 4)
+       min(totalram_pages, 1UL << (30 - PAGE_SHIFT) * 3 / 4)
 #else
 # define NUM_CACHEPAGES totalram_pages
 #endif