aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/pseries/msi.c
diff options
context:
space:
mode:
authorYijing Wang <wangyijing@huawei.com>2014-09-24 11:09:45 +0800
committerBjorn Helgaas <bhelgaas@google.com>2014-10-01 12:21:46 -0600
commit1e8f4cc82eded0c3c97ef6e2f119782e42deda35 (patch)
tree8e55479ce72d2b69eb833f56e8b27b717e9972d1 /arch/powerpc/platforms/pseries/msi.c
parentPCI/MSI: Use __get_cached_msi_msg() instead of get_cached_msi_msg() (diff)
downloadlinux-dev-1e8f4cc82eded0c3c97ef6e2f119782e42deda35.tar.xz
linux-dev-1e8f4cc82eded0c3c97ef6e2f119782e42deda35.zip
MSI/powerpc: Use __read_msi_msg() instead of read_msi_msg()
rtas_setup_msi_irqs() already has the struct msi_desc pointer required by __read_msi_msg(), so call it directly instead of having read_msi_msg() look it up from the IRQ. No functional change. [bhelgaas: changelog] Signed-off-by: Yijing Wang <wangyijing@huawei.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Acked-by: Michael Ellerman <mpe@ellerman.id.au> CC: Benjamin Herrenschmidt <benh@kernel.crashing.org> CC: linuxppc-dev@lists.ozlabs.org
Diffstat (limited to '')
-rw-r--r--arch/powerpc/platforms/pseries/msi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/pseries/msi.c b/arch/powerpc/platforms/pseries/msi.c
index e68c196def1a..8ab5add4ac82 100644
--- a/arch/powerpc/platforms/pseries/msi.c
+++ b/arch/powerpc/platforms/pseries/msi.c
@@ -476,7 +476,7 @@ again:
irq_set_msi_desc(virq, entry);
/* Read config space back so we can restore after reset */
- read_msi_msg(virq, &msg);
+ __read_msi_msg(entry, &msg);
entry->msg = msg;
}