X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Finclude%2Fliblustre.h;h=5d357c79ec3042510a75dff2d5af525a68e4042b;hp=d758fb1a1a84305ef4d95bfbe6f485ac0eaeee5a;hb=3dcf18d3;hpb=49c257b73af33971463eb59a46aa15f1d7a4ffb5 diff --git a/lustre/include/liblustre.h b/lustre/include/liblustre.h index d758fb1..5d357c7 100644 --- a/lustre/include/liblustre.h +++ b/lustre/include/liblustre.h @@ -355,6 +355,10 @@ int test_and_clear_bit(int nr, unsigned long *addr) return oldbit; } +#define libcfs_memory_pressure_get() (0) +#define libcfs_memory_pressure_put() do {} while (0) +#define libcfs_memory_pressure_clr() do {} while (0) + /* FIXME sys/capability will finally included linux/fs.h thus * cause numerous trouble on x86-64. as temporary solution for * build broken at Cray, we copy definition we need from capability.h