Whamcloud - gitweb
b=23428 Fix lustre built with --enable-lu_ref
[fs/lustre-release.git] / lustre / include / linux / lustre_handles.h
index afbe6e5..7393383 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.
  */
 /*
 #include <asm/types.h>
 #include <asm/atomic.h>
 #include <linux/list.h>
-#include <linux/random.h>
 #include <linux/version.h>
 #include <linux/spinlock.h>
 #include <linux/types.h>
 
 # ifdef HAVE_RCU
 #  include <linux/rcupdate.h> /* for rcu_head{} */
-# else
-struct rcu_head { };
+typedef struct rcu_head cfs_rcu_head_t;
 # endif
 
 #endif /* ifdef __KERNEL__ */