Whamcloud - gitweb
b=24427 define libcfs_memory_pressure_get for userspace
authorJohann Lombardi <johann.lombardi@oracle.com>
Fri, 28 Jan 2011 07:40:18 +0000 (08:40 +0100)
committerJohann Lombardi <johann.lombardi@oracle.com>
Fri, 28 Jan 2011 07:40:18 +0000 (08:40 +0100)
lnet/include/libcfs/user-prim.h

index a045dc9..0051dd5 100644 (file)
@@ -195,6 +195,8 @@ int cfs_mem_cache_destroy(cfs_mem_cache_t *c);
 void *cfs_mem_cache_alloc(cfs_mem_cache_t *c, int gfp);
 void cfs_mem_cache_free(cfs_mem_cache_t *c, void *addr);
 
+#define libcfs_memory_pressure_get() (0)
+
 typedef int (cfs_read_proc_t)(char *page, char **start, off_t off,
                           int count, int *eof, void *data);