Whamcloud - gitweb
LU-1346 libcfs: replace libcfs wrappers with kernel API
[fs/lustre-release.git] / lnet / klnds / qswlnd / qswlnd.h
index 33e44b0..aa6b3de 100644 (file)
@@ -55,7 +55,6 @@
 #include <net/sock.h>
 #include <linux/uio.h>
 
-#include <asm/system.h>
 #include <asm/uaccess.h>
 
 #include <linux/fs.h>
@@ -263,10 +262,10 @@ typedef struct
 
         cfs_list_t           kqn_idletxds;    /* transmit descriptors free to use */
         cfs_list_t           kqn_activetxds;  /* transmit descriptors being used */
-        cfs_spinlock_t       kqn_idletxd_lock; /* serialise idle txd access */
-        cfs_atomic_t         kqn_pending_txs;/* # transmits being prepped */
+       spinlock_t      kqn_idletxd_lock;    /* serialise idle txd access */
+       cfs_atomic_t    kqn_pending_txs;     /* # transmits being prepped */
 
-        cfs_spinlock_t       kqn_sched_lock; /* serialise packet schedulers */
+       spinlock_t      kqn_sched_lock;      /* serialise packet schedulers */
         cfs_waitq_t          kqn_sched_waitq;/* scheduler blocks here */
 
         cfs_list_t           kqn_readyrxds;  /* rxds full of data */