]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
powerpc/pseries: Return the number of MSIs we could allocate
authorMichael Ellerman <michael@ellerman.id.au>
Thu, 22 Jan 2009 20:54:33 +0000 (20:54 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 11 Feb 2009 02:38:02 +0000 (13:38 +1100)
commit6071ed0487c6ea8dcfadd9844b9b90944cd9de1e
tree8890252e4578bc29e079795efa2cec3c9fe35f22
parent649781f82782d142443d895b98edbd8be4e75c56
powerpc/pseries: Return the number of MSIs we could allocate

If we can't allocate the requested number of MSIs, we can still tell the
generic code how many we were able to allocate. That can then be passed
onto the driver, allowing it to request that many in future, and
probably succeeed.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/pseries/msi.c