* GPL HEADER END
*/
/*
- * Copyright 2008 Sun Microsystems, Inc. All rights reserved
+ * Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
* Use is subject to license terms.
*/
/*
#include <libcfs/libcfs.h>
+#if !defined(HAVE_RCU) || !defined(__KERNEL__)
+typedef struct {
+ int foo;
+} cfs_rcu_head_t;
+#endif
+
typedef void (*portals_handle_addref_cb)(void *object);
/* These handles are most easily used by having them appear at the very top of