Whamcloud - gitweb
b=17167 cfs_rcu_head cleanup in lustre source
[fs/lustre-release.git] / lustre / include / liblustre.h
index ec58e37..b77e256 100644 (file)
@@ -26,7 +26,7 @@
  * GPL HEADER END
  */
 /*
- * Copyright  2008 Sun Microsystems, Inc. All rights reserved
+ * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
  * Use is subject to license terms.
  */
 /*
@@ -137,8 +137,6 @@ extern int echo_client_init(void);
 
 #define EXPORT_SYMBOL(S)
 
-typedef struct cfs_rcu_head { } cfs_rcu_head_t;
-
 typedef __u64 kdev_t;
 
 #ifndef min
@@ -338,10 +336,6 @@ int cfs_curproc_is_in_groups(gid_t gid);
 #define might_sleep_if(c)
 #define smp_mb()
 
-#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