From: Johann Lombardi Date: Fri, 28 Jan 2011 08:33:08 +0000 (+0100) Subject: b=24427 another userspace fix for libcfs_memory_pressure_restore() X-Git-Tag: 1.8.5.54~13 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=6d44b87554324c34ca3b96c30a9e83b14f4f6dd5 b=24427 another userspace fix for libcfs_memory_pressure_restore() --- diff --git a/lustre/include/liblustre.h b/lustre/include/liblustre.h index 1fb9110..ac6dafb 100644 --- a/lustre/include/liblustre.h +++ b/lustre/include/liblustre.h @@ -752,7 +752,7 @@ typedef struct { volatile int counter; } atomic_t; #define libcfs_memory_pressure_set() do {} while (0) #define libcfs_memory_pressure_clr() do {} while (0) #define libcfs_memory_pressure_get_and_set() do {} while (0) -#define libcfs_memory_pressure_restore() do {} while (0) +#define libcfs_memory_pressure_restore(old) do {} while (0) /* FIXME sys/capability will finally included linux/fs.h thus * cause numerous trouble on x86-64. as temporary solution for