commit | 3110f0ee19ccdb50adff3dfa1321039f69efddcd | [log] [tgz] |
---|---|---|
author | Greg Kurz <groug@kaod.org> | Thu Aug 13 19:28:10 2020 +0200 |
committer | David Gibson <david@gibson.dropbear.id.au> | Fri Aug 14 13:35:45 2020 +1000 |
tree | 88f66cb2f4c740c31762eb4f38bb1c4c3ca16943 | |
parent | 37035df51eaabb8d26b71da75b88a1c6727de8fa [diff] |
spapr/xive: Use xive_source_esb_len() static inline size_t xive_source_esb_len(XiveSource *xsrc) { return (1ull << xsrc->esb_shift) * xsrc->nr_irqs; } Signed-off-by: Greg Kurz <groug@kaod.org> Message-Id: <159733969034.320580.6571451425779179477.stgit@bahia.lan> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>