diff options
Diffstat (limited to 'drivers/infiniband/hw/ipath/ipath_kernel.h')
-rw-r--r-- | drivers/infiniband/hw/ipath/ipath_kernel.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/infiniband/hw/ipath/ipath_kernel.h b/drivers/infiniband/hw/ipath/ipath_kernel.h index 02b24a340599..59a8b254b97f 100644 --- a/drivers/infiniband/hw/ipath/ipath_kernel.h +++ b/drivers/infiniband/hw/ipath/ipath_kernel.h | |||
@@ -159,8 +159,8 @@ struct ipath_portdata { | |||
159 | /* saved total number of polled urgent packets for poll edge trigger */ | 159 | /* saved total number of polled urgent packets for poll edge trigger */ |
160 | u32 port_urgent_poll; | 160 | u32 port_urgent_poll; |
161 | /* pid of process using this port */ | 161 | /* pid of process using this port */ |
162 | pid_t port_pid; | 162 | struct pid *port_pid; |
163 | pid_t port_subpid[INFINIPATH_MAX_SUBPORT]; | 163 | struct pid *port_subpid[INFINIPATH_MAX_SUBPORT]; |
164 | /* same size as task_struct .comm[] */ | 164 | /* same size as task_struct .comm[] */ |
165 | char port_comm[16]; | 165 | char port_comm[16]; |
166 | /* pkeys set by this use of this port */ | 166 | /* pkeys set by this use of this port */ |
@@ -483,7 +483,7 @@ struct ipath_devdata { | |||
483 | 483 | ||
484 | /* SendDMA related entries */ | 484 | /* SendDMA related entries */ |
485 | spinlock_t ipath_sdma_lock; | 485 | spinlock_t ipath_sdma_lock; |
486 | u64 ipath_sdma_status; | 486 | unsigned long ipath_sdma_status; |
487 | unsigned long ipath_sdma_abort_jiffies; | 487 | unsigned long ipath_sdma_abort_jiffies; |
488 | unsigned long ipath_sdma_abort_intr_timeout; | 488 | unsigned long ipath_sdma_abort_intr_timeout; |
489 | unsigned long ipath_sdma_buf_jiffies; | 489 | unsigned long ipath_sdma_buf_jiffies; |
@@ -822,8 +822,8 @@ struct ipath_devdata { | |||
822 | #define IPATH_SDMA_DISARMED 1 | 822 | #define IPATH_SDMA_DISARMED 1 |
823 | #define IPATH_SDMA_DISABLED 2 | 823 | #define IPATH_SDMA_DISABLED 2 |
824 | #define IPATH_SDMA_LAYERBUF 3 | 824 | #define IPATH_SDMA_LAYERBUF 3 |
825 | #define IPATH_SDMA_RUNNING 62 | 825 | #define IPATH_SDMA_RUNNING 30 |
826 | #define IPATH_SDMA_SHUTDOWN 63 | 826 | #define IPATH_SDMA_SHUTDOWN 31 |
827 | 827 | ||
828 | /* bit combinations that correspond to abort states */ | 828 | /* bit combinations that correspond to abort states */ |
829 | #define IPATH_SDMA_ABORT_NONE 0 | 829 | #define IPATH_SDMA_ABORT_NONE 0 |