diff options
author | Jiang Liu <jiang.liu@linux.intel.com> | 2014-11-09 10:10:33 -0500 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2014-11-23 07:01:45 -0500 |
commit | 891d4a48f7da39de2be17a59b47df62dccf0f3d5 (patch) | |
tree | 4a02f67a8d065f8a9e271537d92df7e5edb6c98c /arch/x86/pci/xen.c | |
parent | d71d6432e105fe80d33f930276bb146be4732330 (diff) |
PCI/MSI: Rename __read_msi_msg() to __pci_read_msi_msg()
Rename __read_msi_msg() to __pci_read_msi_msg() and kill unused
read_msi_msg(). It's a preparation to separate generic MSI code from
PCI core.
Signed-off-by: Jiang Liu <jiang.liu@linux.intel.com>
Cc: Bjorn Helgaas <bhelgaas@google.com>
Cc: Grant Likely <grant.likely@linaro.org>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Cc: Yingjoe Chen <yingjoe.chen@mediatek.com>
Cc: Yijing Wang <wangyijing@huawei.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/pci/xen.c')
-rw-r--r-- | arch/x86/pci/xen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/pci/xen.c b/arch/x86/pci/xen.c index 466b978e13a5..ff0068b8ce5e 100644 --- a/arch/x86/pci/xen.c +++ b/arch/x86/pci/xen.c | |||
@@ -229,7 +229,7 @@ static int xen_hvm_setup_msi_irqs(struct pci_dev *dev, int nvec, int type) | |||
229 | return 1; | 229 | return 1; |
230 | 230 | ||
231 | list_for_each_entry(msidesc, &dev->msi_list, list) { | 231 | list_for_each_entry(msidesc, &dev->msi_list, list) { |
232 | __read_msi_msg(msidesc, &msg); | 232 | __pci_read_msi_msg(msidesc, &msg); |
233 | pirq = MSI_ADDR_EXT_DEST_ID(msg.address_hi) | | 233 | pirq = MSI_ADDR_EXT_DEST_ID(msg.address_hi) | |
234 | ((msg.address_lo >> MSI_ADDR_DEST_ID_SHIFT) & 0xff); | 234 | ((msg.address_lo >> MSI_ADDR_DEST_ID_SHIFT) & 0xff); |
235 | if (msg.data != XEN_PIRQ_MSI_DATA || | 235 | if (msg.data != XEN_PIRQ_MSI_DATA || |