From 6d44b87554324c34ca3b96c30a9e83b14f4f6dd5 Mon Sep 17 00:00:00 2001 From: Johann Lombardi Date: Fri, 28 Jan 2011 09:33:08 +0100 Subject: [PATCH] b=24427 another userspace fix for libcfs_memory_pressure_restore() --- lustre/include/liblustre.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 1.8.3.1