]> bbs.cooldavid.org Git - net-next-2.6.git/commit - arch/powerpc/sysdev/mpic_u3msi.c
[POWERPC] Inline u3msi_compose_msi_msg()
authorMichael Ellerman <michael@ellerman.id.au>
Thu, 20 Sep 2007 06:36:51 +0000 (16:36 +1000)
committerPaul Mackerras <paulus@samba.org>
Tue, 2 Oct 2007 23:11:42 +0000 (09:11 +1000)
commit21ccdd31e9c70f42b00d9ea152f6c4e0ff3f536e
treec54c610501be73cf2634e951e9d75c4e20820370
parentd385366a9b96fc3f4705f8513adccceaa0515f97
[POWERPC] Inline u3msi_compose_msi_msg()

In the MPIC U3 MSI code, we call u3msi_compose_msi_msg() once for each MSI.
This is overkill, as the address is per pci device, not per MSI. So setup
the address once, and just set the data per MSI.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/sysdev/mpic_u3msi.c