aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2016-11-14 13:06:10 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2016-11-15 15:06:02 +1100
commit6873a5c71b00b0ed3d358b92ed5c235fcf592cac (patch)
tree566d6a1136e47f3e9739fedbdaf83e24c4a9565d /hw
parenta20d013cbc8f69b2661995698935306aae57a364 (diff)
downloadskiboot-6873a5c71b00b0ed3d358b92ed5c235fcf592cac.zip
skiboot-6873a5c71b00b0ed3d358b92ed5c235fcf592cac.tar.gz
skiboot-6873a5c71b00b0ed3d358b92ed5c235fcf592cac.tar.bz2
xive: Fix comments in xive_get_ive()
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/xive.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/hw/xive.c b/hw/xive.c
index a819716..3759049 100644
--- a/hw/xive.c
+++ b/hw/xive.c
@@ -490,15 +490,12 @@ static struct xive_ive *xive_get_ive(struct xive *x, unsigned int isn)
}
assert (idx < MAX_INT_ENTRIES);
- /* XXX If we support >1 block per chip, fix this */
+ /* If we support >1 block per chip, this should still work as
+ * we are likely to make the table contiguous anyway
+ */
ivt = x->ivt_base;
assert(ivt);
- // XXX DBG
- if (ivt[idx].w != 0)
- xive_vdbg(x, "xive_get_ive(isn %x), idx=0x%x IVE=%016llx\n",
- isn, idx, ivt[idx].w);
-
return ivt + idx;
}