Whamcloud - gitweb
LU-2675 build: assume __linux__ and __KERNEL__
[fs/lustre-release.git] / lustre / include / lustre_handles.h
index 5b6f30f..a3c16f6 100644 (file)
  * @{
  */
 
-#if defined(__linux__)
 #include <linux/lustre_handles.h>
-#else
-#error Unsupported operating system.
-#endif
 
 #include <libcfs/libcfs.h>
 
-#ifndef __KERNEL__
-typedef struct {
-       int foo;
-} cfs_rcu_head_t;
-#endif
 
 struct portals_handle_ops {
        void (*hop_addref)(void *object);