diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2016-11-14 13:06:10 +1100 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2016-11-15 15:06:02 +1100 |
commit | 6873a5c71b00b0ed3d358b92ed5c235fcf592cac (patch) | |
tree | 566d6a1136e47f3e9739fedbdaf83e24c4a9565d /hw/xive.c | |
parent | a20d013cbc8f69b2661995698935306aae57a364 (diff) | |
download | skiboot-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/xive.c')
-rw-r--r-- | hw/xive.c | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -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; } |