summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/cxgb3
diff options
context:
space:
mode:
authorRoland Dreier <rolandd@cisco.com>2008-05-13 20:51:23 +0200
committerRoland Dreier <rolandd@cisco.com>2008-05-13 20:51:23 +0200
commitf018c7e177a50390f6fcb137f1a28a6027d8ba50 (patch)
tree32edc8dfbb31acc027711f88a16c34d3fc69be15 /drivers/infiniband/hw/cxgb3
parentIB/ipath: Make ipath_portdata work with struct pid * not pid_t (diff)
downloadlinux-f018c7e177a50390f6fcb137f1a28a6027d8ba50.tar.xz
linux-f018c7e177a50390f6fcb137f1a28a6027d8ba50.zip
IB/ipath: Change ipath_devdata.ipath_sdma_status to be unsigned long
Andrew Morton <akpm@linux-foundation.org> pointed out that bitops should take an unsigned long * arg. However, the ipath driver was doing bitops on struct ipath_devdata.ipath_sdma_status, which is u64. Change this member to unsigned long to avoid tons of warnings when x86 fixes the bitops to take unsigned long * instead of void *. Also, change the IPATH_SDMA_RUNNING and IPATH_SDMA_SHUTDOWN bit numbers to 30 and 31 (instead of 62 and 63) so that we're not setting another booby trap for someone who tries to make ipath work on a 32-bit architecture. Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/cxgb3')
0 files changed, 0 insertions, 0 deletions