xen: events: remove use of nr_irqs as upper bound on number of pirqs
authorIan Campbell <ian.campbell@citrix.com>
Thu, 10 Mar 2011 16:08:13 +0000 (16:08 +0000)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Thu, 10 Mar 2011 19:48:43 +0000 (14:48 -0500)
commit69c358ce377e998e3ababb494c2f8769dfb1715d
tree45a8552232e7122424f44ba7780955954783496f
parentca62ce8cde36cde5a31af8f9bb23e6430700e437
xen: events: remove use of nr_irqs as upper bound on number of pirqs

There isn't really much relationship between the two, other than
nr_irqs often being the larger of the two.

Allows us to remove a nr_irqs sized array, the only users of this
array are MSI setup and restore, neither of which are particularly
performance critical.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/xen/events.c