Whamcloud - gitweb
LU-1346 libcfs: replace cfs_ memory wrappers
[fs/lustre-release.git] / libcfs / libcfs / winnt / winnt-usr.c
index a0f630c..c5f2312 100644 (file)
@@ -1020,7 +1020,7 @@ void* pgalloc(size_t factor)
 {
     LPVOID page;
 
 {
     LPVOID page;
 
-    page = VirtualAlloc(NULL, CFS_PAGE_SIZE << factor,
+    page = VirtualAlloc(NULL, PAGE_CACHE_SIZE << factor,
                         MEM_COMMIT, PAGE_READWRITE);
     return page;
 }
                         MEM_COMMIT, PAGE_READWRITE);
     return page;
 }