diff options
author | Jiang Liu <jiang.liu@linux.intel.com> | 2014-11-09 10:10:34 -0500 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2014-11-23 07:01:45 -0500 |
commit | 83a18912b0e8d275001bca6fc9c0fe519d98f280 (patch) | |
tree | d63c40c62eb6964f84a2200a8ed9710772032b19 /arch/powerpc/sysdev | |
parent | 891d4a48f7da39de2be17a59b47df62dccf0f3d5 (diff) |
PCI/MSI: Rename write_msi_msg() to pci_write_msi_msg()
Rename write_msi_msg() to pci_write_msi_msg() to mark it as PCI
specific.
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/powerpc/sysdev')
-rw-r--r-- | arch/powerpc/sysdev/fsl_msi.c | 2 | ||||
-rw-r--r-- | arch/powerpc/sysdev/mpic_pasemi_msi.c | 2 | ||||
-rw-r--r-- | arch/powerpc/sysdev/mpic_u3msi.c | 2 | ||||
-rw-r--r-- | arch/powerpc/sysdev/ppc4xx_hsta_msi.c | 2 | ||||
-rw-r--r-- | arch/powerpc/sysdev/ppc4xx_msi.c | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/arch/powerpc/sysdev/fsl_msi.c b/arch/powerpc/sysdev/fsl_msi.c index de40b48b460e..bd5a9f7c0029 100644 --- a/arch/powerpc/sysdev/fsl_msi.c +++ b/arch/powerpc/sysdev/fsl_msi.c | |||
@@ -242,7 +242,7 @@ static int fsl_setup_msi_irqs(struct pci_dev *pdev, int nvec, int type) | |||
242 | irq_set_msi_desc(virq, entry); | 242 | irq_set_msi_desc(virq, entry); |
243 | 243 | ||
244 | fsl_compose_msi_msg(pdev, hwirq, &msg, msi_data); | 244 | fsl_compose_msi_msg(pdev, hwirq, &msg, msi_data); |
245 | write_msi_msg(virq, &msg); | 245 | pci_write_msi_msg(virq, &msg); |
246 | } | 246 | } |
247 | return 0; | 247 | return 0; |
248 | 248 | ||
diff --git a/arch/powerpc/sysdev/mpic_pasemi_msi.c b/arch/powerpc/sysdev/mpic_pasemi_msi.c index 15dccd35fa11..45a6f407883c 100644 --- a/arch/powerpc/sysdev/mpic_pasemi_msi.c +++ b/arch/powerpc/sysdev/mpic_pasemi_msi.c | |||
@@ -136,7 +136,7 @@ static int pasemi_msi_setup_msi_irqs(struct pci_dev *pdev, int nvec, int type) | |||
136 | * register to generate MSI [512...1023] | 136 | * register to generate MSI [512...1023] |
137 | */ | 137 | */ |
138 | msg.data = hwirq-0x200; | 138 | msg.data = hwirq-0x200; |
139 | write_msi_msg(virq, &msg); | 139 | pci_write_msi_msg(virq, &msg); |
140 | } | 140 | } |
141 | 141 | ||
142 | return 0; | 142 | return 0; |
diff --git a/arch/powerpc/sysdev/mpic_u3msi.c b/arch/powerpc/sysdev/mpic_u3msi.c index 623d7fba15b4..ac6f1f9d03ce 100644 --- a/arch/powerpc/sysdev/mpic_u3msi.c +++ b/arch/powerpc/sysdev/mpic_u3msi.c | |||
@@ -171,7 +171,7 @@ static int u3msi_setup_msi_irqs(struct pci_dev *pdev, int nvec, int type) | |||
171 | printk("u3msi: allocated virq 0x%x (hw 0x%x) addr 0x%lx\n", | 171 | printk("u3msi: allocated virq 0x%x (hw 0x%x) addr 0x%lx\n", |
172 | virq, hwirq, (unsigned long)addr); | 172 | virq, hwirq, (unsigned long)addr); |
173 | msg.data = hwirq; | 173 | msg.data = hwirq; |
174 | write_msi_msg(virq, &msg); | 174 | pci_write_msi_msg(virq, &msg); |
175 | 175 | ||
176 | hwirq++; | 176 | hwirq++; |
177 | } | 177 | } |
diff --git a/arch/powerpc/sysdev/ppc4xx_hsta_msi.c b/arch/powerpc/sysdev/ppc4xx_hsta_msi.c index a6a4dbda9078..908105f835d1 100644 --- a/arch/powerpc/sysdev/ppc4xx_hsta_msi.c +++ b/arch/powerpc/sysdev/ppc4xx_hsta_msi.c | |||
@@ -85,7 +85,7 @@ static int hsta_setup_msi_irqs(struct pci_dev *dev, int nvec, int type) | |||
85 | msi_bitmap_free_hwirqs(&ppc4xx_hsta_msi.bmp, irq, 1); | 85 | msi_bitmap_free_hwirqs(&ppc4xx_hsta_msi.bmp, irq, 1); |
86 | return -EINVAL; | 86 | return -EINVAL; |
87 | } | 87 | } |
88 | write_msi_msg(hwirq, &msg); | 88 | pci_write_msi_msg(hwirq, &msg); |
89 | } | 89 | } |
90 | 90 | ||
91 | return 0; | 91 | return 0; |
diff --git a/arch/powerpc/sysdev/ppc4xx_msi.c b/arch/powerpc/sysdev/ppc4xx_msi.c index 22b5200636e7..518eabbe0bdc 100644 --- a/arch/powerpc/sysdev/ppc4xx_msi.c +++ b/arch/powerpc/sysdev/ppc4xx_msi.c | |||
@@ -116,7 +116,7 @@ static int ppc4xx_setup_msi_irqs(struct pci_dev *dev, int nvec, int type) | |||
116 | 116 | ||
117 | irq_set_msi_desc(virq, entry); | 117 | irq_set_msi_desc(virq, entry); |
118 | msg.data = int_no; | 118 | msg.data = int_no; |
119 | write_msi_msg(virq, &msg); | 119 | pci_write_msi_msg(virq, &msg); |
120 | } | 120 | } |
121 | return 0; | 121 | return 0; |
122 | } | 122 | } |