Skip to content

Commit

Permalink
xive: Fix comments in xive_get_ive()
Browse files Browse the repository at this point in the history
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
  • Loading branch information
ozbenh authored and stewartsmith committed Nov 15, 2016
1 parent a20d013 commit 6873a5c
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions hw/xive.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 6873a5c

Please sign in to comment.