summaryrefslogtreecommitdiffstats
path: root/arch/parisc/include/asm
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2023-08-21 17:29:18 +0200
committerHelge Deller <deller@gmx.de>2023-08-22 10:24:47 +0200
commit8f01caf0c5c14b2dc086c766cf5321fbcdc40bd1 (patch)
tree6371d5b0841e6a8d559f9356ddcc175cdae512c8 /arch/parisc/include/asm
parent98a9d5f07edfe60a6e6f9ffac1779dca39f415d5 (diff)
downloadlinux-stable-8f01caf0c5c14b2dc086c766cf5321fbcdc40bd1.tar.gz
linux-stable-8f01caf0c5c14b2dc086c766cf5321fbcdc40bd1.tar.bz2
linux-stable-8f01caf0c5c14b2dc086c766cf5321fbcdc40bd1.zip
parisc: Avoid ioremap() for same addresss in iosapic_register()
The LBA has already called ioremap() to get it's virtual address, which can be used for the IOSAPIC as well. Avoid calling ioremap() again and just reuse the correct iomem address for the IOSAPIC. Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc/include/asm')
-rw-r--r--arch/parisc/include/asm/ropes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/parisc/include/asm/ropes.h b/arch/parisc/include/asm/ropes.h
index 8e51c775c80a..fd96706c7234 100644
--- a/arch/parisc/include/asm/ropes.h
+++ b/arch/parisc/include/asm/ropes.h
@@ -252,7 +252,7 @@ static inline int agp_mode_mercury(void __iomem *hpa) {
** fixup_irq is to initialize PCI IRQ line support and
** virtualize pcidev->irq value. To be called by pci_fixup_bus().
*/
-extern void *iosapic_register(unsigned long hpa);
+extern void *iosapic_register(unsigned long hpa, void __iomem *vaddr);
extern int iosapic_fixup_irq(void *obj, struct pci_dev *pcidev);
#define LBA_FUNC_ID 0x0000 /* function id */