Whamcloud - gitweb
LU-5396: use gfp_t for gfp mask, instead of (unsigned) int
[fs/lustre-release.git] / libcfs / include / libcfs / linux / linux-mem.h
index 0ad0e6f..6b6553e 100644 (file)
 
 
 extern void *cfs_cpt_malloc(struct cfs_cpt_table *cptab, int cpt,
-                           size_t nr_bytes, unsigned int flags);
+                           size_t nr_bytes, gfp_t flags);
 extern void *cfs_cpt_vzalloc(struct cfs_cpt_table *cptab, int cpt,
                             size_t nr_bytes);
 extern struct page *cfs_page_cpt_alloc(struct cfs_cpt_table *cptab,
-                                     int cpt, unsigned int flags);
+                                     int cpt, gfp_t flags);
 extern void *cfs_mem_cache_cpt_alloc(struct kmem_cache *cachep,
                                     struct cfs_cpt_table *cptab,
-                                    int cpt, unsigned int flags);
+                                    int cpt, gfp_t flags);
 
 /*
  * Shrinker