summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/ipath/ipath_keys.c
diff options
context:
space:
mode:
authorBryan O'Sullivan2006-08-25 20:24:33 +0200
committerRoland Dreier2006-09-23 00:22:31 +0200
commitb55f4f06c834a67f949a5219c5f97ffafa240989 (patch)
treef7fb3095a8e7e09370036ad9d669925897d5f0c4 /drivers/infiniband/hw/ipath/ipath_keys.c
parentIB/ipath: simplify layering code (diff)
downloadkernel-qcow2-linux-b55f4f06c834a67f949a5219c5f97ffafa240989.tar.gz
kernel-qcow2-linux-b55f4f06c834a67f949a5219c5f97ffafa240989.tar.xz
kernel-qcow2-linux-b55f4f06c834a67f949a5219c5f97ffafa240989.zip
IB/ipath: simplify debugging code after ipath_core and ib_ipath merger
Signed-off-by: Bryan O'Sullivan <bryan.osullivan@qlogic.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/ipath/ipath_keys.c')
-rw-r--r--drivers/infiniband/hw/ipath/ipath_keys.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/ipath/ipath_keys.c b/drivers/infiniband/hw/ipath/ipath_keys.c
index a5ca279370aa..ba1b93226caa 100644
--- a/drivers/infiniband/hw/ipath/ipath_keys.c
+++ b/drivers/infiniband/hw/ipath/ipath_keys.c
@@ -34,6 +34,7 @@
#include <asm/io.h>
#include "ipath_verbs.h"
+#include "ipath_kernel.h"
/**
* ipath_alloc_lkey - allocate an lkey
@@ -60,7 +61,7 @@ int ipath_alloc_lkey(struct ipath_lkey_table *rkt, struct ipath_mregion *mr)
r = (r + 1) & (rkt->max - 1);
if (r == n) {
spin_unlock_irqrestore(&rkt->lock, flags);
- _VERBS_INFO("LKEY table full\n");
+ ipath_dbg(KERN_INFO "LKEY table full\n");
ret = 0;
goto bail;
}