aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/ipath/ipath_ruc.c
diff options
context:
space:
mode:
authorBryan O'Sullivan <bos@pathscale.com>2006-05-23 11:32:32 -0700
committerRoland Dreier <rolandd@cisco.com>2006-05-23 13:27:06 -0700
commit94b8d9f98d7f535037eb9845b81396f667b4f727 (patch)
tree20eeb94120a7da859e27876aa997619ce73bc2a8 /drivers/infiniband/hw/ipath/ipath_ruc.c
parentIB/ipath: fix reporting of driver version to userspace (diff)
downloadlinux-dev-94b8d9f98d7f535037eb9845b81396f667b4f727.tar.xz
linux-dev-94b8d9f98d7f535037eb9845b81396f667b4f727.zip
IB/ipath: replace uses of LIST_POISON
Per Andrew's request. Signed-off-by: Bryan O'Sullivan <bos@pathscale.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/ipath/ipath_ruc.c')
-rw-r--r--drivers/infiniband/hw/ipath/ipath_ruc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/ipath/ipath_ruc.c b/drivers/infiniband/hw/ipath/ipath_ruc.c
index eb81424b3c5b..d38f4f3cfd1d 100644
--- a/drivers/infiniband/hw/ipath/ipath_ruc.c
+++ b/drivers/infiniband/hw/ipath/ipath_ruc.c
@@ -435,7 +435,7 @@ void ipath_no_bufs_available(struct ipath_qp *qp, struct ipath_ibdev *dev)
unsigned long flags;
spin_lock_irqsave(&dev->pending_lock, flags);
- if (qp->piowait.next == LIST_POISON1)
+ if (list_empty(&qp->piowait))
list_add_tail(&qp->piowait, &dev->piowait);
spin_unlock_irqrestore(&dev->pending_lock, flags);
/*